diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:07 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:07 -0400 |
commit | 83c47bcb3c533180a6dda78152334de50065358a (patch) | |
tree | 4bc9ac04f8c3797e49284e0b96e2d654769254ff /include | |
parent | 580b2102327ab8444af5bde4e70b50d268a1d558 (diff) |
[PATCH] libata-hp: implement warmplug
Implement warmplug. User-initiated unplug can be detected by
hostt->slave_destroy() and plug by transportt->user_scan(). This
patch only implements the two callbacks. The next function will hook
them.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include')
-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 407115624d9f..74786c33c526 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -734,6 +734,7 @@ extern int ata_std_bios_param(struct scsi_device *sdev, | |||
734 | struct block_device *bdev, | 734 | struct block_device *bdev, |
735 | sector_t capacity, int geom[]); | 735 | sector_t capacity, int geom[]); |
736 | extern int ata_scsi_slave_config(struct scsi_device *sdev); | 736 | extern int ata_scsi_slave_config(struct scsi_device *sdev); |
737 | extern void ata_scsi_slave_destroy(struct scsi_device *sdev); | ||
737 | extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, | 738 | extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, |
738 | int queue_depth); | 739 | int queue_depth); |
739 | extern struct ata_device *ata_dev_pair(struct ata_device *adev); | 740 | extern struct ata_device *ata_dev_pair(struct ata_device *adev); |