diff options
author | Kristen Carlson Accardi <kristen.c.accardi@intel.com> | 2007-08-15 04:11:25 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:33 -0400 |
commit | 2f2949680ad89d606db838340b17c30216c0bb0f (patch) | |
tree | 25d7918c7b846d151776bbdf6a111a1d241d6b05 /include/linux/libata.h | |
parent | 9f45cbd3f0fc597530aaf85cad7fe52cd63f1fd8 (diff) |
[libata] ahci: send event when AN received
When we get an SDB FIS with the 'N' bit set, we should send
an event to user space to indicate that there has been a
media change. This will be done via the scsi device.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 6dd5b437210d..d98e8b50e20c 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -755,6 +755,7 @@ extern void ata_host_init(struct ata_host *, struct device *, | |||
755 | extern int ata_scsi_detect(struct scsi_host_template *sht); | 755 | extern int ata_scsi_detect(struct scsi_host_template *sht); |
756 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); | 756 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); |
757 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); | 757 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); |
758 | extern void ata_scsi_media_change_notify(struct ata_device *atadev); | ||
758 | extern void ata_sas_port_destroy(struct ata_port *); | 759 | extern void ata_sas_port_destroy(struct ata_port *); |
759 | extern struct ata_port *ata_sas_port_alloc(struct ata_host *, | 760 | extern struct ata_port *ata_sas_port_alloc(struct ata_host *, |
760 | struct ata_port_info *, struct Scsi_Host *); | 761 | struct ata_port_info *, struct Scsi_Host *); |