aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-09 09:44:07 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-09 09:44:07 -0400
commitf58f8be7f65312f602f7970e7da47a6413e692b0 (patch)
treef60cc040deebceea1b44082dc713e95687d8527f /include/linux/libata.h
parentc71c18576d0d8aa4db876c737c3c597c724cf02f (diff)
parente710245bb0f980adfb1dfe850e43761a8117c6be (diff)
Merge branch 'upstream'
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index dbf5f08fb3ed..a89969aea19f 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -156,6 +156,10 @@ enum {
156 ATA_SHIFT_UDMA = 0, 156 ATA_SHIFT_UDMA = 0,
157 ATA_SHIFT_MWDMA = 8, 157 ATA_SHIFT_MWDMA = 8,
158 ATA_SHIFT_PIO = 11, 158 ATA_SHIFT_PIO = 11,
159
160 /* Masks for port functions */
161 ATA_PORT_PRIMARY = (1 << 0),
162 ATA_PORT_SECONDARY = (1 << 1),
159}; 163};
160 164
161enum hsm_task_states { 165enum hsm_task_states {
@@ -409,6 +413,8 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn
409extern int ata_scsi_error(struct Scsi_Host *host); 413extern int ata_scsi_error(struct Scsi_Host *host);
410extern int ata_scsi_release(struct Scsi_Host *host); 414extern int ata_scsi_release(struct Scsi_Host *host);
411extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); 415extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc);
416extern int ata_ratelimit(void);
417
412/* 418/*
413 * Default driver ops implementations 419 * Default driver ops implementations
414 */ 420 */
@@ -461,7 +467,7 @@ struct pci_bits {
461 467
462extern void ata_pci_host_stop (struct ata_host_set *host_set); 468extern void ata_pci_host_stop (struct ata_host_set *host_set);
463extern struct ata_probe_ent * 469extern struct ata_probe_ent *
464ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port); 470ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask);
465extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); 471extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits);
466 472
467#endif /* CONFIG_PCI */ 473#endif /* CONFIG_PCI */