diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:13 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:13 -0400 |
commit | 720ba12620ee09dce269adf4ad50958adac7bb54 (patch) | |
tree | f31a8b3da52195610bd244baf42a5fe2e26b0a36 /include/linux/libata.h | |
parent | 3e706399b03bd237d087d731d4b1b029e546b33d (diff) |
[PATCH] libata-hp: update unload-unplug
Update unload unplug - driver unloading / PCI removal. This is done
by ata_port_detach() which short-circuits EH, disables all devices and
freezes the port. With this patch, EH and unloading/unplugging are
properly synchronized.
Signed-off-by: Tejun Heo <htejun@gmail.com>
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 74786c33c526..f11ba2715bef 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -649,6 +649,7 @@ extern int ata_pci_device_resume(struct pci_dev *pdev); | |||
649 | extern int ata_pci_clear_simplex(struct pci_dev *pdev); | 649 | extern int ata_pci_clear_simplex(struct pci_dev *pdev); |
650 | #endif /* CONFIG_PCI */ | 650 | #endif /* CONFIG_PCI */ |
651 | extern int ata_device_add(const struct ata_probe_ent *ent); | 651 | extern int ata_device_add(const struct ata_probe_ent *ent); |
652 | extern void ata_port_detach(struct ata_port *ap); | ||
652 | extern void ata_host_set_remove(struct ata_host_set *host_set); | 653 | extern void ata_host_set_remove(struct ata_host_set *host_set); |
653 | extern int ata_scsi_detect(struct scsi_host_template *sht); | 654 | extern int ata_scsi_detect(struct scsi_host_template *sht); |
654 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); | 655 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); |