aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 82d500c5a847..cca6cfb299bc 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1300,11 +1300,11 @@ static inline int ide_hwif_setup_dma(ide_hwif_t *hwif,
1300} 1300}
1301#endif 1301#endif
1302 1302
1303typedef struct ide_pci_enablebit_s { 1303struct ide_pci_enablebit {
1304 u8 reg; /* byte pci reg holding the enable-bit */ 1304 u8 reg; /* byte pci reg holding the enable-bit */
1305 u8 mask; /* mask to isolate the enable-bit */ 1305 u8 mask; /* mask to isolate the enable-bit */
1306 u8 val; /* value of masked reg when "enabled" */ 1306 u8 val; /* value of masked reg when "enabled" */
1307} ide_pci_enablebit_t; 1307};
1308 1308
1309enum { 1309enum {
1310 /* Uses ISA control ports not PCI ones. */ 1310 /* Uses ISA control ports not PCI ones. */
@@ -1393,7 +1393,8 @@ struct ide_port_info {
1393 const struct ide_port_ops *port_ops; 1393 const struct ide_port_ops *port_ops;
1394 const struct ide_dma_ops *dma_ops; 1394 const struct ide_dma_ops *dma_ops;
1395 1395
1396 ide_pci_enablebit_t enablebits[2]; 1396 struct ide_pci_enablebit enablebits[2];
1397
1397 hwif_chipset_t chipset; 1398 hwif_chipset_t chipset;
1398 1399
1399 u16 max_sectors; /* if < than the default one */ 1400 u16 max_sectors; /* if < than the default one */