[libata] sata_fsl: Fix broken driver, add port multiplier (PMP) support
authorAshish Kalra <ashish.kalra@freescale.com>
Tue, 20 May 2008 05:19:45 +0000 (00:19 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 30 May 2008 16:39:44 +0000 (12:39 -0400)
commit034d8e8f273fcb02bebd6a62d8023ffa409fe92f
tree7dcc173f40b8b4a9e2a2337aa2e9e1072511eb45
parent19ef9d5e45ce805700f34c248a71a511877b8a5d
[libata] sata_fsl: Fix broken driver, add port multiplier (PMP) support

The following commit (4c9bf4e799ce06a7378f1196587084802a414c03):
libata: replace tf_read with qc_fill_rtf for non-SFF drivers

Broke the sata_fsl.c driver in 2.6.26-rc.  I know the following patch fixes
the issue, it clearly also adds port multipler support.  The current
2.6.26-rc driver is broken.

On boot with debug enabled we get something like (w/o this patch):

spurious interrupt!!, CC = 0x1
interrupt status 0x1
xx_scr_read, reg_in = 1
spurious interrupt!!, CC = 0x1
interrupt status 0x1
xx_scr_read, reg_in = 1
spurious interrupt!!, CC = 0x1
interrupt status 0x1
xx_scr_read, reg_in = 1

.. continues for ever.

This change fixes this as a side effect of adding port multiplier support.

Signed-off-by: Ashish Kalra <ashish.kalra@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_fsl.c