diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-29 13:48:21 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-29 13:48:21 -0400 |
| commit | f73b0a08eae0e28c50db5dd5ab8245546918bfb6 (patch) | |
| tree | eddc8c063acc7c70a975a0dadf26655159704b22 /drivers/ata/libata.h | |
| parent | 6b06d2cc6d52830e3e0c001006b26255f47184dd (diff) | |
| parent | 225036314e768bbfe8331ea9b0e91ca101afe427 (diff) | |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (86 commits)
SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c
drivers/ata/pata_cmd640.c: fix build with CONFIG_PM=n
pata_hpt37x: Further small fixes
pata_hpt3x2n: Add HPT371N support and other bits
ata: printk warning fixes
libata: separate ATA_EHI_DID_RESET into DID_SOFTRESET and DID_HARDRESET
ahci: consolidate common port flags
ata_timing: ensure t->cycle is always correct
libata: add missing call to ->cable_detect() in new EH path
pata_amd: remove contamination added during cable_detect conversion
libata: Handle drives that require a spin-up command before first access
libata: HPA support
libata: kill probe_ent and related helpers
libata: convert the remaining PATA drivers to new init model
libata: convert the remaining SATA drivers to new init model
libata: convert ata_pci_init_native_mode() users to new init model
libata: convert drivers with combined SATA/PATA ports to new init model
libata: add init helpers including ata_pci_prepare_native_host()
libata: convert native PCI host handling to new init model
libata: convert legacy PCI host handling to new init model
...
Diffstat (limited to 'drivers/ata/libata.h')
| -rw-r--r-- | drivers/ata/libata.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 1f1e3a51f859..5f4d40cd3288 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
| @@ -52,6 +52,7 @@ enum { | |||
| 52 | ATA_DNXFER_QUIET = (1 << 31), | 52 | ATA_DNXFER_QUIET = (1 << 31), |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | extern unsigned int ata_print_id; | ||
| 55 | extern struct workqueue_struct *ata_aux_wq; | 56 | extern struct workqueue_struct *ata_aux_wq; |
| 56 | extern int atapi_enabled; | 57 | extern int atapi_enabled; |
| 57 | extern int atapi_dmadir; | 58 | extern int atapi_dmadir; |
| @@ -92,10 +93,7 @@ extern int ata_flush_cache(struct ata_device *dev); | |||
| 92 | extern void ata_dev_init(struct ata_device *dev); | 93 | extern void ata_dev_init(struct ata_device *dev); |
| 93 | extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); | 94 | extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); |
| 94 | extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); | 95 | extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); |
| 95 | extern void ata_port_init(struct ata_port *ap, struct ata_host *host, | 96 | extern struct ata_port *ata_port_alloc(struct ata_host *host); |
| 96 | const struct ata_probe_ent *ent, unsigned int port_no); | ||
| 97 | extern struct ata_probe_ent *ata_probe_ent_alloc(struct device *dev, | ||
| 98 | const struct ata_port_info *port); | ||
| 99 | 97 | ||
| 100 | /* libata-acpi.c */ | 98 | /* libata-acpi.c */ |
| 101 | #ifdef CONFIG_SATA_ACPI | 99 | #ifdef CONFIG_SATA_ACPI |
| @@ -113,8 +111,8 @@ static inline int ata_acpi_push_id(struct ata_port *ap, unsigned int ix) | |||
| 113 | #endif | 111 | #endif |
| 114 | 112 | ||
| 115 | /* libata-scsi.c */ | 113 | /* libata-scsi.c */ |
| 116 | extern struct scsi_transport_template ata_scsi_transport_template; | 114 | extern int ata_scsi_add_hosts(struct ata_host *host, |
| 117 | 115 | struct scsi_host_template *sht); | |
| 118 | extern void ata_scsi_scan_host(struct ata_port *ap); | 116 | extern void ata_scsi_scan_host(struct ata_port *ap); |
| 119 | extern int ata_scsi_offline_dev(struct ata_device *dev); | 117 | extern int ata_scsi_offline_dev(struct ata_device *dev); |
| 120 | extern void ata_scsi_hotplug(struct work_struct *work); | 118 | extern void ata_scsi_hotplug(struct work_struct *work); |
