Skip to contentSkip to conversation

sata_vsc: data_xfer should use mmio

PATCH Applied Martin Hicks 2 participants 2 messages Jun 28, 2006 – Jul 6, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sata_vsc: data_xfer should use mmio

Hi,

sata_vsc is an MMIO device, and should use the correct data_xfer function. This problem was introduced by:

commit a6b2c5d4754dc539a560fdf0d3fb78a14174394a
Author: Alan Cox <[email protected]>
Date: Mon May 22 16:59:59 2006 +0100

        [PATCH] PATCH: libata. Add ->data_xfer method

---

 drivers/scsi/sata_vsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

e00c172b64186a6ff08e7f09086f89bedac4cc6d

drivers/scsi/sata_vsc.c +1 -1
index 6d0c4f1..d97af87 100644
@@ -297,7 +297,7 @@ static const struct ata_port_operations 
 	.bmdma_status		= ata_bmdma_status,
 	.qc_prep		= ata_qc_prep,
 	.qc_issue		= ata_qc_issue_prot,
-	.data_xfer		= ata_pio_data_xfer,
+	.data_xfer		= ata_mmio_data_xfer,
 	.freeze			= ata_bmdma_freeze,
 	.thaw			= ata_bmdma_thaw,
 	.error_handler		= ata_bmdma_error_handler,
Signature · 5 lines
1.3.2


-- 
Martin Hicks || [email protected] || PGP/GnuPG: 0x4C7F2BEE