diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
commit | 4099d14322149c7a467e4997b87be4ba8eb78697 (patch) | |
tree | 133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /include/linux/ide.h | |
parent | 6a824c92db4d606c324272c4eed366fb71672440 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 9f72f6e0c954..5f5daad8bc54 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -683,6 +683,8 @@ typedef struct hwif_s { | |||
683 | 683 | ||
684 | u8 host_flags; | 684 | u8 host_flags; |
685 | 685 | ||
686 | u8 pio_mask; | ||
687 | |||
686 | u8 atapi_dma; /* host supports atapi_dma */ | 688 | u8 atapi_dma; /* host supports atapi_dma */ |
687 | u8 ultra_mask; | 689 | u8 ultra_mask; |
688 | u8 mwdma_mask; | 690 | u8 mwdma_mask; |
@@ -1270,6 +1272,7 @@ typedef struct ide_pci_device_s { | |||
1270 | unsigned int extra; | 1272 | unsigned int extra; |
1271 | struct ide_pci_device_s *next; | 1273 | struct ide_pci_device_s *next; |
1272 | u8 host_flags; | 1274 | u8 host_flags; |
1275 | u8 pio_mask; | ||
1273 | u8 udma_mask; | 1276 | u8 udma_mask; |
1274 | } ide_pci_device_t; | 1277 | } ide_pci_device_t; |
1275 | 1278 | ||