diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-09 09:44:07 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-09 09:44:07 -0400 |
commit | f58f8be7f65312f602f7970e7da47a6413e692b0 (patch) | |
tree | f60cc040deebceea1b44082dc713e95687d8527f /include/linux/libata.h | |
parent | c71c18576d0d8aa4db876c737c3c597c724cf02f (diff) | |
parent | e710245bb0f980adfb1dfe850e43761a8117c6be (diff) |
Merge branch 'upstream'
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 8 |
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 | ||
161 | enum hsm_task_states { | 165 | enum hsm_task_states { |
@@ -409,6 +413,8 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn | |||
409 | extern int ata_scsi_error(struct Scsi_Host *host); | 413 | extern int ata_scsi_error(struct Scsi_Host *host); |
410 | extern int ata_scsi_release(struct Scsi_Host *host); | 414 | extern int ata_scsi_release(struct Scsi_Host *host); |
411 | extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); | 415 | extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); |
416 | extern 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 | ||
462 | extern void ata_pci_host_stop (struct ata_host_set *host_set); | 468 | extern void ata_pci_host_stop (struct ata_host_set *host_set); |
463 | extern struct ata_probe_ent * | 469 | extern struct ata_probe_ent * |
464 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port); | 470 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); |
465 | extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); | 471 | extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); |
466 | 472 | ||
467 | #endif /* CONFIG_PCI */ | 473 | #endif /* CONFIG_PCI */ |