summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-20 01:11:59 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-20 01:11:59 +0200
commit4099d14322149c7a467e4997b87be4ba8eb78697 (patch)
tree133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /include/linux/ide.h
parent6a824c92db4d606c324272c4eed366fb71672440 (diff)
downloadop-kernel-dev-4099d14322149c7a467e4997b87be4ba8eb78697.zip
op-kernel-dev-4099d14322149c7a467e4997b87be4ba8eb78697.tar.gz
ide: add PIO masks
* Add ATA_PIO[0-6] defines to <linux/ata.h>. * Add ->pio_mask field to ide_pci_device_t and ide_hwif_t. * Add PIO masks to host drivers. <linux/ata.h> change ACK-ed by Jeff Garzik <jeff@garzik.org>. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 9f72f6e..5f5daad 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -683,6 +683,8 @@ typedef struct hwif_s {
u8 host_flags;
+ u8 pio_mask;
+
u8 atapi_dma; /* host supports atapi_dma */
u8 ultra_mask;
u8 mwdma_mask;
@@ -1270,6 +1272,7 @@ typedef struct ide_pci_device_s {
unsigned int extra;
struct ide_pci_device_s *next;
u8 host_flags;
+ u8 pio_mask;
u8 udma_mask;
} ide_pci_device_t;
OpenPOWER on IntegriCloud