diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 4739a75b983..4d45179872c 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -155,6 +155,10 @@ enum { | |||
155 | ATA_SHIFT_UDMA = 0, | 155 | ATA_SHIFT_UDMA = 0, |
156 | ATA_SHIFT_MWDMA = 8, | 156 | ATA_SHIFT_MWDMA = 8, |
157 | ATA_SHIFT_PIO = 11, | 157 | ATA_SHIFT_PIO = 11, |
158 | |||
159 | /* Masks for port functions */ | ||
160 | ATA_PORT_PRIMARY = (1 << 0), | ||
161 | ATA_PORT_SECONDARY = (1 << 1), | ||
158 | }; | 162 | }; |
159 | 163 | ||
160 | enum hsm_task_states { | 164 | enum hsm_task_states { |
@@ -458,7 +462,7 @@ struct pci_bits { | |||
458 | 462 | ||
459 | extern void ata_pci_host_stop (struct ata_host_set *host_set); | 463 | extern void ata_pci_host_stop (struct ata_host_set *host_set); |
460 | extern struct ata_probe_ent * | 464 | extern struct ata_probe_ent * |
461 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port); | 465 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); |
462 | extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); | 466 | extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); |
463 | 467 | ||
464 | #endif /* CONFIG_PCI */ | 468 | #endif /* CONFIG_PCI */ |