aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h6
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
160enum hsm_task_states { 164enum hsm_task_states {
@@ -458,7 +462,7 @@ struct pci_bits {
458 462
459extern void ata_pci_host_stop (struct ata_host_set *host_set); 463extern void ata_pci_host_stop (struct ata_host_set *host_set);
460extern struct ata_probe_ent * 464extern struct ata_probe_ent *
461ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port); 465ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask);
462extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); 466extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits);
463 467
464#endif /* CONFIG_PCI */ 468#endif /* CONFIG_PCI */