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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user