diff options
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); |
