diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:09 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:09 -0400 |
commit | ccf68c3405fca11386004674377d951b9b18e756 (patch) | |
tree | b42439454c401ab801e3fbd3b4ee872c73956725 /drivers | |
parent | 83c47bcb3c533180a6dda78152334de50065358a (diff) |
[PATCH] libata-hp: hook warmplug
Hook transportt->user_scan() and hostt->slave_destroy().
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ahci.c | 1 | ||||
-rw-r--r-- | drivers/scsi/ata_piix.c | 1 | ||||
-rw-r--r-- | drivers/scsi/libata-scsi.c | 1 | ||||
-rw-r--r-- | drivers/scsi/pdc_adma.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_mv.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_nv.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_promise.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_qstor.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_sil.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_sil24.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_sis.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_svw.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_sx4.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_uli.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_via.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sata_vsc.c | 1 |
16 files changed, 16 insertions, 0 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 8493b021cc07..afb3805f9e95 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -228,6 +228,7 @@ static struct scsi_host_template ahci_sht = { | |||
228 | .proc_name = DRV_NAME, | 228 | .proc_name = DRV_NAME, |
229 | .dma_boundary = AHCI_DMA_BOUNDARY, | 229 | .dma_boundary = AHCI_DMA_BOUNDARY, |
230 | .slave_configure = ata_scsi_slave_config, | 230 | .slave_configure = ata_scsi_slave_config, |
231 | .slave_destroy = ata_scsi_slave_destroy, | ||
231 | .bios_param = ata_std_bios_param, | 232 | .bios_param = ata_std_bios_param, |
232 | }; | 233 | }; |
233 | 234 | ||
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index ad41dfd33e06..54c2e52373fd 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -219,6 +219,7 @@ static struct scsi_host_template piix_sht = { | |||
219 | .proc_name = DRV_NAME, | 219 | .proc_name = DRV_NAME, |
220 | .dma_boundary = ATA_DMA_BOUNDARY, | 220 | .dma_boundary = ATA_DMA_BOUNDARY, |
221 | .slave_configure = ata_scsi_slave_config, | 221 | .slave_configure = ata_scsi_slave_config, |
222 | .slave_destroy = ata_scsi_slave_destroy, | ||
222 | .bios_param = ata_std_bios_param, | 223 | .bios_param = ata_std_bios_param, |
223 | .resume = ata_scsi_device_resume, | 224 | .resume = ata_scsi_device_resume, |
224 | .suspend = ata_scsi_device_suspend, | 225 | .suspend = ata_scsi_device_suspend, |
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 7c1ac58c430a..5f90d8e33546 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -107,6 +107,7 @@ static const u8 def_control_mpage[CONTROL_MPAGE_LEN] = { | |||
107 | struct scsi_transport_template ata_scsi_transport_template = { | 107 | struct scsi_transport_template ata_scsi_transport_template = { |
108 | .eh_strategy_handler = ata_scsi_error, | 108 | .eh_strategy_handler = ata_scsi_error, |
109 | .eh_timed_out = ata_scsi_timed_out, | 109 | .eh_timed_out = ata_scsi_timed_out, |
110 | .user_scan = ata_scsi_user_scan, | ||
110 | }; | 111 | }; |
111 | 112 | ||
112 | 113 | ||
diff --git a/drivers/scsi/pdc_adma.c b/drivers/scsi/pdc_adma.c index a341fa8d3291..eb910e4c7d75 100644 --- a/drivers/scsi/pdc_adma.c +++ b/drivers/scsi/pdc_adma.c | |||
@@ -152,6 +152,7 @@ static struct scsi_host_template adma_ata_sht = { | |||
152 | .proc_name = DRV_NAME, | 152 | .proc_name = DRV_NAME, |
153 | .dma_boundary = ADMA_DMA_BOUNDARY, | 153 | .dma_boundary = ADMA_DMA_BOUNDARY, |
154 | .slave_configure = ata_scsi_slave_config, | 154 | .slave_configure = ata_scsi_slave_config, |
155 | .slave_destroy = ata_scsi_slave_destroy, | ||
155 | .bios_param = ata_std_bios_param, | 156 | .bios_param = ata_std_bios_param, |
156 | }; | 157 | }; |
157 | 158 | ||
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index 624983c2e24b..634bab17a6bb 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -390,6 +390,7 @@ static struct scsi_host_template mv_sht = { | |||
390 | .proc_name = DRV_NAME, | 390 | .proc_name = DRV_NAME, |
391 | .dma_boundary = MV_DMA_BOUNDARY, | 391 | .dma_boundary = MV_DMA_BOUNDARY, |
392 | .slave_configure = ata_scsi_slave_config, | 392 | .slave_configure = ata_scsi_slave_config, |
393 | .slave_destroy = ata_scsi_slave_destroy, | ||
393 | .bios_param = ata_std_bios_param, | 394 | .bios_param = ata_std_bios_param, |
394 | }; | 395 | }; |
395 | 396 | ||
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index d93513ef7412..90551246aa46 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c | |||
@@ -216,6 +216,7 @@ static struct scsi_host_template nv_sht = { | |||
216 | .proc_name = DRV_NAME, | 216 | .proc_name = DRV_NAME, |
217 | .dma_boundary = ATA_DMA_BOUNDARY, | 217 | .dma_boundary = ATA_DMA_BOUNDARY, |
218 | .slave_configure = ata_scsi_slave_config, | 218 | .slave_configure = ata_scsi_slave_config, |
219 | .slave_destroy = ata_scsi_slave_destroy, | ||
219 | .bios_param = ata_std_bios_param, | 220 | .bios_param = ata_std_bios_param, |
220 | }; | 221 | }; |
221 | 222 | ||
diff --git a/drivers/scsi/sata_promise.c b/drivers/scsi/sata_promise.c index 01111594d09c..b2b6ed5216e0 100644 --- a/drivers/scsi/sata_promise.c +++ b/drivers/scsi/sata_promise.c | |||
@@ -121,6 +121,7 @@ static struct scsi_host_template pdc_ata_sht = { | |||
121 | .proc_name = DRV_NAME, | 121 | .proc_name = DRV_NAME, |
122 | .dma_boundary = ATA_DMA_BOUNDARY, | 122 | .dma_boundary = ATA_DMA_BOUNDARY, |
123 | .slave_configure = ata_scsi_slave_config, | 123 | .slave_configure = ata_scsi_slave_config, |
124 | .slave_destroy = ata_scsi_slave_destroy, | ||
124 | .bios_param = ata_std_bios_param, | 125 | .bios_param = ata_std_bios_param, |
125 | }; | 126 | }; |
126 | 127 | ||
diff --git a/drivers/scsi/sata_qstor.c b/drivers/scsi/sata_qstor.c index 68737cadd2d4..98ddc25655f0 100644 --- a/drivers/scsi/sata_qstor.c +++ b/drivers/scsi/sata_qstor.c | |||
@@ -142,6 +142,7 @@ static struct scsi_host_template qs_ata_sht = { | |||
142 | .proc_name = DRV_NAME, | 142 | .proc_name = DRV_NAME, |
143 | .dma_boundary = QS_DMA_BOUNDARY, | 143 | .dma_boundary = QS_DMA_BOUNDARY, |
144 | .slave_configure = ata_scsi_slave_config, | 144 | .slave_configure = ata_scsi_slave_config, |
145 | .slave_destroy = ata_scsi_slave_destroy, | ||
145 | .bios_param = ata_std_bios_param, | 146 | .bios_param = ata_std_bios_param, |
146 | }; | 147 | }; |
147 | 148 | ||
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index 03c1d1b1a04c..7d43cd3a50fc 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -174,6 +174,7 @@ static struct scsi_host_template sil_sht = { | |||
174 | .proc_name = DRV_NAME, | 174 | .proc_name = DRV_NAME, |
175 | .dma_boundary = ATA_DMA_BOUNDARY, | 175 | .dma_boundary = ATA_DMA_BOUNDARY, |
176 | .slave_configure = ata_scsi_slave_config, | 176 | .slave_configure = ata_scsi_slave_config, |
177 | .slave_destroy = ata_scsi_slave_destroy, | ||
177 | .bios_param = ata_std_bios_param, | 178 | .bios_param = ata_std_bios_param, |
178 | }; | 179 | }; |
179 | 180 | ||
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 4a830903393d..d4ca6d6b402c 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -370,6 +370,7 @@ static struct scsi_host_template sil24_sht = { | |||
370 | .proc_name = DRV_NAME, | 370 | .proc_name = DRV_NAME, |
371 | .dma_boundary = ATA_DMA_BOUNDARY, | 371 | .dma_boundary = ATA_DMA_BOUNDARY, |
372 | .slave_configure = ata_scsi_slave_config, | 372 | .slave_configure = ata_scsi_slave_config, |
373 | .slave_destroy = ata_scsi_slave_destroy, | ||
373 | .bios_param = ata_std_bios_param, | 374 | .bios_param = ata_std_bios_param, |
374 | }; | 375 | }; |
375 | 376 | ||
diff --git a/drivers/scsi/sata_sis.c b/drivers/scsi/sata_sis.c index 82a07bff7e91..a07e6e525173 100644 --- a/drivers/scsi/sata_sis.c +++ b/drivers/scsi/sata_sis.c | |||
@@ -96,6 +96,7 @@ static struct scsi_host_template sis_sht = { | |||
96 | .proc_name = DRV_NAME, | 96 | .proc_name = DRV_NAME, |
97 | .dma_boundary = ATA_DMA_BOUNDARY, | 97 | .dma_boundary = ATA_DMA_BOUNDARY, |
98 | .slave_configure = ata_scsi_slave_config, | 98 | .slave_configure = ata_scsi_slave_config, |
99 | .slave_destroy = ata_scsi_slave_destroy, | ||
99 | .bios_param = ata_std_bios_param, | 100 | .bios_param = ata_std_bios_param, |
100 | }; | 101 | }; |
101 | 102 | ||
diff --git a/drivers/scsi/sata_svw.c b/drivers/scsi/sata_svw.c index 7a4703bfa12a..d9b516836486 100644 --- a/drivers/scsi/sata_svw.c +++ b/drivers/scsi/sata_svw.c | |||
@@ -299,6 +299,7 @@ static struct scsi_host_template k2_sata_sht = { | |||
299 | .proc_name = DRV_NAME, | 299 | .proc_name = DRV_NAME, |
300 | .dma_boundary = ATA_DMA_BOUNDARY, | 300 | .dma_boundary = ATA_DMA_BOUNDARY, |
301 | .slave_configure = ata_scsi_slave_config, | 301 | .slave_configure = ata_scsi_slave_config, |
302 | .slave_destroy = ata_scsi_slave_destroy, | ||
302 | #ifdef CONFIG_PPC_OF | 303 | #ifdef CONFIG_PPC_OF |
303 | .proc_info = k2_sata_proc_info, | 304 | .proc_info = k2_sata_proc_info, |
304 | #endif | 305 | #endif |
diff --git a/drivers/scsi/sata_sx4.c b/drivers/scsi/sata_sx4.c index c4db6bf14a25..7f864410f7c2 100644 --- a/drivers/scsi/sata_sx4.c +++ b/drivers/scsi/sata_sx4.c | |||
@@ -191,6 +191,7 @@ static struct scsi_host_template pdc_sata_sht = { | |||
191 | .proc_name = DRV_NAME, | 191 | .proc_name = DRV_NAME, |
192 | .dma_boundary = ATA_DMA_BOUNDARY, | 192 | .dma_boundary = ATA_DMA_BOUNDARY, |
193 | .slave_configure = ata_scsi_slave_config, | 193 | .slave_configure = ata_scsi_slave_config, |
194 | .slave_destroy = ata_scsi_slave_destroy, | ||
194 | .bios_param = ata_std_bios_param, | 195 | .bios_param = ata_std_bios_param, |
195 | }; | 196 | }; |
196 | 197 | ||
diff --git a/drivers/scsi/sata_uli.c b/drivers/scsi/sata_uli.c index 7fae3e06e461..e69ba229adca 100644 --- a/drivers/scsi/sata_uli.c +++ b/drivers/scsi/sata_uli.c | |||
@@ -90,6 +90,7 @@ static struct scsi_host_template uli_sht = { | |||
90 | .proc_name = DRV_NAME, | 90 | .proc_name = DRV_NAME, |
91 | .dma_boundary = ATA_DMA_BOUNDARY, | 91 | .dma_boundary = ATA_DMA_BOUNDARY, |
92 | .slave_configure = ata_scsi_slave_config, | 92 | .slave_configure = ata_scsi_slave_config, |
93 | .slave_destroy = ata_scsi_slave_destroy, | ||
93 | .bios_param = ata_std_bios_param, | 94 | .bios_param = ata_std_bios_param, |
94 | }; | 95 | }; |
95 | 96 | ||
diff --git a/drivers/scsi/sata_via.c b/drivers/scsi/sata_via.c index 1c9e2f36805a..c6975c5580ef 100644 --- a/drivers/scsi/sata_via.c +++ b/drivers/scsi/sata_via.c | |||
@@ -103,6 +103,7 @@ static struct scsi_host_template svia_sht = { | |||
103 | .proc_name = DRV_NAME, | 103 | .proc_name = DRV_NAME, |
104 | .dma_boundary = ATA_DMA_BOUNDARY, | 104 | .dma_boundary = ATA_DMA_BOUNDARY, |
105 | .slave_configure = ata_scsi_slave_config, | 105 | .slave_configure = ata_scsi_slave_config, |
106 | .slave_destroy = ata_scsi_slave_destroy, | ||
106 | .bios_param = ata_std_bios_param, | 107 | .bios_param = ata_std_bios_param, |
107 | }; | 108 | }; |
108 | 109 | ||
diff --git a/drivers/scsi/sata_vsc.c b/drivers/scsi/sata_vsc.c index 438e7c6a0f8f..22ca7b848cf6 100644 --- a/drivers/scsi/sata_vsc.c +++ b/drivers/scsi/sata_vsc.c | |||
@@ -279,6 +279,7 @@ static struct scsi_host_template vsc_sata_sht = { | |||
279 | .proc_name = DRV_NAME, | 279 | .proc_name = DRV_NAME, |
280 | .dma_boundary = ATA_DMA_BOUNDARY, | 280 | .dma_boundary = ATA_DMA_BOUNDARY, |
281 | .slave_configure = ata_scsi_slave_config, | 281 | .slave_configure = ata_scsi_slave_config, |
282 | .slave_destroy = ata_scsi_slave_destroy, | ||
282 | .bios_param = ata_std_bios_param, | 283 | .bios_param = ata_std_bios_param, |
283 | }; | 284 | }; |
284 | 285 | ||