|
@@ -139,7 +139,7 @@ enum {
|
|
ATA_DFLAG_FLUSH_EXT = (1 << 4), /* do FLUSH_EXT instead of FLUSH */
|
|
ATA_DFLAG_FLUSH_EXT = (1 << 4), /* do FLUSH_EXT instead of FLUSH */
|
|
ATA_DFLAG_ACPI_PENDING = (1 << 5), /* ACPI resume action pending */
|
|
ATA_DFLAG_ACPI_PENDING = (1 << 5), /* ACPI resume action pending */
|
|
ATA_DFLAG_ACPI_FAILED = (1 << 6), /* ACPI on devcfg has failed */
|
|
ATA_DFLAG_ACPI_FAILED = (1 << 6), /* ACPI on devcfg has failed */
|
|
- ATA_DFLAG_AN = (1 << 7), /* device supports AN */
|
|
|
|
|
|
+ ATA_DFLAG_AN = (1 << 7), /* AN configured */
|
|
ATA_DFLAG_CFG_MASK = (1 << 12) - 1,
|
|
ATA_DFLAG_CFG_MASK = (1 << 12) - 1,
|
|
|
|
|
|
ATA_DFLAG_PIO = (1 << 12), /* device limited to PIO mode */
|
|
ATA_DFLAG_PIO = (1 << 12), /* device limited to PIO mode */
|
|
@@ -787,7 +787,6 @@ extern void ata_host_init(struct ata_host *, struct device *,
|
|
extern int ata_scsi_detect(struct scsi_host_template *sht);
|
|
extern int ata_scsi_detect(struct scsi_host_template *sht);
|
|
extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
|
|
extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
|
|
extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *));
|
|
extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *));
|
|
-extern void ata_scsi_media_change_notify(struct ata_device *atadev);
|
|
|
|
extern void ata_sas_port_destroy(struct ata_port *);
|
|
extern void ata_sas_port_destroy(struct ata_port *);
|
|
extern struct ata_port *ata_sas_port_alloc(struct ata_host *,
|
|
extern struct ata_port *ata_sas_port_alloc(struct ata_host *,
|
|
struct ata_port_info *, struct Scsi_Host *);
|
|
struct ata_port_info *, struct Scsi_Host *);
|
|
@@ -953,6 +952,7 @@ extern void ata_port_schedule_eh(struct ata_port *ap);
|
|
extern int ata_link_abort(struct ata_link *link);
|
|
extern int ata_link_abort(struct ata_link *link);
|
|
extern int ata_port_abort(struct ata_port *ap);
|
|
extern int ata_port_abort(struct ata_port *ap);
|
|
extern int ata_port_freeze(struct ata_port *ap);
|
|
extern int ata_port_freeze(struct ata_port *ap);
|
|
|
|
+extern int sata_async_notification(struct ata_port *ap);
|
|
|
|
|
|
extern void ata_eh_freeze_port(struct ata_port *ap);
|
|
extern void ata_eh_freeze_port(struct ata_port *ap);
|
|
extern void ata_eh_thaw_port(struct ata_port *ap);
|
|
extern void ata_eh_thaw_port(struct ata_port *ap);
|