diff options
author | Alan Cox <alan@redhat.com> | 2009-01-05 09:16:39 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-01-08 16:34:27 -0500 |
commit | 871af1210f13966ab911ed2166e4ab2ce775b99d (patch) | |
tree | f17f0016f6e966d54a379a3de6e6bbde3b9359fe /include/linux/libata.h | |
parent | e427fe042cf90c0652eed9a85e57a8fd8af89890 (diff) |
libata: Add 32bit PIO support
This matters for some controllers and in one or two cases almost doubles
PIO performance. Add a bmdma32 operations set we can inherit and activate
it for some controllers
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 3449de597eff..4f7c8fb4d3fe 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1518,6 +1518,7 @@ extern void sata_pmp_error_handler(struct ata_port *ap); | |||
1518 | 1518 | ||
1519 | extern const struct ata_port_operations ata_sff_port_ops; | 1519 | extern const struct ata_port_operations ata_sff_port_ops; |
1520 | extern const struct ata_port_operations ata_bmdma_port_ops; | 1520 | extern const struct ata_port_operations ata_bmdma_port_ops; |
1521 | extern const struct ata_port_operations ata_bmdma32_port_ops; | ||
1521 | 1522 | ||
1522 | /* PIO only, sg_tablesize and dma_boundary limits can be removed */ | 1523 | /* PIO only, sg_tablesize and dma_boundary limits can be removed */ |
1523 | #define ATA_PIO_SHT(drv_name) \ | 1524 | #define ATA_PIO_SHT(drv_name) \ |
@@ -1545,6 +1546,8 @@ extern void ata_sff_exec_command(struct ata_port *ap, | |||
1545 | const struct ata_taskfile *tf); | 1546 | const struct ata_taskfile *tf); |
1546 | extern unsigned int ata_sff_data_xfer(struct ata_device *dev, | 1547 | extern unsigned int ata_sff_data_xfer(struct ata_device *dev, |
1547 | unsigned char *buf, unsigned int buflen, int rw); | 1548 | unsigned char *buf, unsigned int buflen, int rw); |
1549 | extern unsigned int ata_sff_data_xfer32(struct ata_device *dev, | ||
1550 | unsigned char *buf, unsigned int buflen, int rw); | ||
1548 | extern unsigned int ata_sff_data_xfer_noirq(struct ata_device *dev, | 1551 | extern unsigned int ata_sff_data_xfer_noirq(struct ata_device *dev, |
1549 | unsigned char *buf, unsigned int buflen, int rw); | 1552 | unsigned char *buf, unsigned int buflen, int rw); |
1550 | extern u8 ata_sff_irq_on(struct ata_port *ap); | 1553 | extern u8 ata_sff_irq_on(struct ata_port *ap); |