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) | |
download | kernel_samsung_espresso10-f58f8be7f65312f602f7970e7da47a6413e692b0.zip kernel_samsung_espresso10-f58f8be7f65312f602f7970e7da47a6413e692b0.tar.gz kernel_samsung_espresso10-f58f8be7f65312f602f7970e7da47a6413e692b0.tar.bz2 |
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 dbf5f08..a89969a 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -156,6 +156,10 @@ enum { ATA_SHIFT_UDMA = 0, ATA_SHIFT_MWDMA = 8, ATA_SHIFT_PIO = 11, + + /* Masks for port functions */ + ATA_PORT_PRIMARY = (1 << 0), + ATA_PORT_SECONDARY = (1 << 1), }; enum hsm_task_states { @@ -409,6 +413,8 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn extern int ata_scsi_error(struct Scsi_Host *host); extern int ata_scsi_release(struct Scsi_Host *host); extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); +extern int ata_ratelimit(void); + /* * Default driver ops implementations */ @@ -461,7 +467,7 @@ struct pci_bits { extern void ata_pci_host_stop (struct ata_host_set *host_set); extern struct ata_probe_ent * -ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port); +ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); #endif /* CONFIG_PCI */ |