diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-05-22 11:59:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-24 01:58:54 -0400 |
commit | a6b2c5d4754dc539a560fdf0d3fb78a14174394a (patch) | |
tree | c6daf88f97c7ed20becf2bd8666be81190eb4bb4 /drivers/scsi/sata_mv.c | |
parent | 8190bdb9291758f3b8c436ec1154c9923ddb57ea (diff) |
[PATCH] PATCH: libata. Add ->data_xfer method
We need to pass the device in order to do per device checks such as
32bit I/O enables. With the changes to include dev->ap we now don't have
to add parameters however just clean them up. Also add data_xfer methods
to the existing drivers except ata_piix (which is in the other block of
patches). If you reject the piix one just add a data_xfer to it...
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_mv.c')
-rw-r--r-- | drivers/scsi/sata_mv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index 691c115ac8e1..bf3529fdea9c 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -406,6 +406,7 @@ static const struct ata_port_operations mv5_ops = { | |||
406 | 406 | ||
407 | .qc_prep = mv_qc_prep, | 407 | .qc_prep = mv_qc_prep, |
408 | .qc_issue = mv_qc_issue, | 408 | .qc_issue = mv_qc_issue, |
409 | .data_xfer = ata_mmio_data_xfer, | ||
409 | 410 | ||
410 | .eng_timeout = mv_eng_timeout, | 411 | .eng_timeout = mv_eng_timeout, |
411 | 412 | ||
@@ -433,6 +434,7 @@ static const struct ata_port_operations mv6_ops = { | |||
433 | 434 | ||
434 | .qc_prep = mv_qc_prep, | 435 | .qc_prep = mv_qc_prep, |
435 | .qc_issue = mv_qc_issue, | 436 | .qc_issue = mv_qc_issue, |
437 | .data_xfer = ata_mmio_data_xfer, | ||
436 | 438 | ||
437 | .eng_timeout = mv_eng_timeout, | 439 | .eng_timeout = mv_eng_timeout, |
438 | 440 | ||