diff options
author | Tejun Heo <htejun@gmail.com> | 2007-09-23 00:14:13 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:42 -0400 |
commit | 7d77b247088fb360aa74bfdd9e19bce1e1987668 (patch) | |
tree | add1b03309dd6fa82eb0f47e1a88766695f38f28 /drivers/ata/libata.h | |
parent | e31e8531d668c9c4dc7883054788f89805188003 (diff) |
libata-pmp-prep: implement sata_async_notification()
AN serves multiple purposes. For ATAPI, it's used for media change
notification. For PMP, for downstream PHY status change notification.
Implement sata_async_notification() which demultiplexes AN.
To avoid unnecessary port events, ATAPI AN is not enabled if PMP is
attached but SNTF is not available.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Kriten Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 0f3e355fdfd7..ebe22982e80c 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -119,6 +119,7 @@ extern int ata_scsi_add_hosts(struct ata_host *host, | |||
119 | struct scsi_host_template *sht); | 119 | struct scsi_host_template *sht); |
120 | extern void ata_scsi_scan_host(struct ata_port *ap, int sync); | 120 | extern void ata_scsi_scan_host(struct ata_port *ap, int sync); |
121 | extern int ata_scsi_offline_dev(struct ata_device *dev); | 121 | extern int ata_scsi_offline_dev(struct ata_device *dev); |
122 | extern void ata_scsi_media_change_notify(struct ata_device *dev); | ||
122 | extern void ata_scsi_hotplug(struct work_struct *work); | 123 | extern void ata_scsi_hotplug(struct work_struct *work); |
123 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, | 124 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, |
124 | unsigned int buflen); | 125 | unsigned int buflen); |