[PATCH] sata_vsc: data_xfer should use mmio
authorMartin Hicks <mort@bork.org>
Wed, 28 Jun 2006 16:17:47 +0000 (12:17 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 6 Jul 2006 01:44:45 +0000 (21:44 -0400)
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 <alan@lxorguk.ukuu.org.uk>
   Date:   Mon May 22 16:59:59 2006 +0100

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

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_vsc.c

index 916fe6fba756d43b6a88ffb8dd64514c23a6a0d2..ad37871594f5baed6f6ecbb1ce860c15da08d230 100644 (file)
@@ -297,7 +297,7 @@ static const struct ata_port_operations vsc_sata_ops = {
        .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,