diff options
author | David Howells <dhowells@redhat.com> | 2006-12-05 09:37:56 -0500 |
---|---|---|
committer | David Howells <dhowells@warthog.cambridge.redhat.com> | 2006-12-05 09:37:56 -0500 |
commit | 4c1ac1b49122b805adfa4efc620592f68dccf5db (patch) | |
tree | 87557f4bc2fd4fe65b7570489c2f610c45c0adcd /drivers/ata | |
parent | c4028958b6ecad064b1a6303a6a5906d4fe48d73 (diff) | |
parent | d916faace3efc0bf19fe9a615a1ab8fa1a24cd93 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/infiniband/core/iwcm.c
drivers/net/chelsio/cxgb2.c
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/prism54/islpci_eth.c
drivers/usb/core/hub.h
drivers/usb/input/hid-core.c
net/core/netpoll.c
Fix up merge failures with Linus's head and fix new compilation failures.
Signed-Off-By: David Howells <dhowells@redhat.com>
Diffstat (limited to 'drivers/ata')
40 files changed, 84 insertions, 13 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 234197e57e9e..bddb14e91d3c 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -78,6 +78,7 @@ enum { | |||
78 | 78 | ||
79 | board_ahci = 0, | 79 | board_ahci = 0, |
80 | board_ahci_vt8251 = 1, | 80 | board_ahci_vt8251 = 1, |
81 | board_ahci_ign_iferr = 2, | ||
81 | 82 | ||
82 | /* global controller registers */ | 83 | /* global controller registers */ |
83 | HOST_CAP = 0x00, /* host capabilities */ | 84 | HOST_CAP = 0x00, /* host capabilities */ |
@@ -168,6 +169,7 @@ enum { | |||
168 | /* ap->flags bits */ | 169 | /* ap->flags bits */ |
169 | AHCI_FLAG_RESET_NEEDS_CLO = (1 << 24), | 170 | AHCI_FLAG_RESET_NEEDS_CLO = (1 << 24), |
170 | AHCI_FLAG_NO_NCQ = (1 << 25), | 171 | AHCI_FLAG_NO_NCQ = (1 << 25), |
172 | AHCI_FLAG_IGN_IRQ_IF_ERR = (1 << 26), /* ignore IRQ_IF_ERR */ | ||
171 | }; | 173 | }; |
172 | 174 | ||
173 | struct ahci_cmd_hdr { | 175 | struct ahci_cmd_hdr { |
@@ -295,6 +297,17 @@ static const struct ata_port_info ahci_port_info[] = { | |||
295 | .udma_mask = 0x7f, /* udma0-6 ; FIXME */ | 297 | .udma_mask = 0x7f, /* udma0-6 ; FIXME */ |
296 | .port_ops = &ahci_ops, | 298 | .port_ops = &ahci_ops, |
297 | }, | 299 | }, |
300 | /* board_ahci_ign_iferr */ | ||
301 | { | ||
302 | .sht = &ahci_sht, | ||
303 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | ||
304 | ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | | ||
305 | ATA_FLAG_SKIP_D2H_BSY | | ||
306 | AHCI_FLAG_IGN_IRQ_IF_ERR, | ||
307 | .pio_mask = 0x1f, /* pio0-4 */ | ||
308 | .udma_mask = 0x7f, /* udma0-6 ; FIXME */ | ||
309 | .port_ops = &ahci_ops, | ||
310 | }, | ||
298 | }; | 311 | }; |
299 | 312 | ||
300 | static const struct pci_device_id ahci_pci_tbl[] = { | 313 | static const struct pci_device_id ahci_pci_tbl[] = { |
@@ -314,13 +327,24 @@ static const struct pci_device_id ahci_pci_tbl[] = { | |||
314 | { PCI_VDEVICE(INTEL, 0x2824), board_ahci }, /* ICH8 */ | 327 | { PCI_VDEVICE(INTEL, 0x2824), board_ahci }, /* ICH8 */ |
315 | { PCI_VDEVICE(INTEL, 0x2829), board_ahci }, /* ICH8M */ | 328 | { PCI_VDEVICE(INTEL, 0x2829), board_ahci }, /* ICH8M */ |
316 | { PCI_VDEVICE(INTEL, 0x282a), board_ahci }, /* ICH8M */ | 329 | { PCI_VDEVICE(INTEL, 0x282a), board_ahci }, /* ICH8M */ |
330 | { PCI_VDEVICE(INTEL, 0x2922), board_ahci }, /* ICH9 */ | ||
331 | { PCI_VDEVICE(INTEL, 0x2923), board_ahci }, /* ICH9 */ | ||
332 | { PCI_VDEVICE(INTEL, 0x2924), board_ahci }, /* ICH9 */ | ||
333 | { PCI_VDEVICE(INTEL, 0x2925), board_ahci }, /* ICH9 */ | ||
334 | { PCI_VDEVICE(INTEL, 0x2927), board_ahci }, /* ICH9 */ | ||
335 | { PCI_VDEVICE(INTEL, 0x2929), board_ahci }, /* ICH9M */ | ||
336 | { PCI_VDEVICE(INTEL, 0x292a), board_ahci }, /* ICH9M */ | ||
337 | { PCI_VDEVICE(INTEL, 0x292b), board_ahci }, /* ICH9M */ | ||
338 | { PCI_VDEVICE(INTEL, 0x292f), board_ahci }, /* ICH9M */ | ||
339 | { PCI_VDEVICE(INTEL, 0x294d), board_ahci }, /* ICH9 */ | ||
340 | { PCI_VDEVICE(INTEL, 0x294e), board_ahci }, /* ICH9M */ | ||
317 | 341 | ||
318 | /* JMicron */ | 342 | /* JMicron */ |
319 | { PCI_VDEVICE(JMICRON, 0x2360), board_ahci }, /* JMicron JMB360 */ | 343 | { PCI_VDEVICE(JMICRON, 0x2360), board_ahci_ign_iferr }, /* JMB360 */ |
320 | { PCI_VDEVICE(JMICRON, 0x2361), board_ahci }, /* JMicron JMB361 */ | 344 | { PCI_VDEVICE(JMICRON, 0x2361), board_ahci_ign_iferr }, /* JMB361 */ |
321 | { PCI_VDEVICE(JMICRON, 0x2363), board_ahci }, /* JMicron JMB363 */ | 345 | { PCI_VDEVICE(JMICRON, 0x2363), board_ahci_ign_iferr }, /* JMB363 */ |
322 | { PCI_VDEVICE(JMICRON, 0x2365), board_ahci }, /* JMicron JMB365 */ | 346 | { PCI_VDEVICE(JMICRON, 0x2365), board_ahci_ign_iferr }, /* JMB365 */ |
323 | { PCI_VDEVICE(JMICRON, 0x2366), board_ahci }, /* JMicron JMB366 */ | 347 | { PCI_VDEVICE(JMICRON, 0x2366), board_ahci_ign_iferr }, /* JMB366 */ |
324 | 348 | ||
325 | /* ATI */ | 349 | /* ATI */ |
326 | { PCI_VDEVICE(ATI, 0x4380), board_ahci }, /* ATI SB600 non-raid */ | 350 | { PCI_VDEVICE(ATI, 0x4380), board_ahci }, /* ATI SB600 non-raid */ |
@@ -969,6 +993,10 @@ static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) | |||
969 | /* analyze @irq_stat */ | 993 | /* analyze @irq_stat */ |
970 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); | 994 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); |
971 | 995 | ||
996 | /* some controllers set IRQ_IF_ERR on device errors, ignore it */ | ||
997 | if (ap->flags & AHCI_FLAG_IGN_IRQ_IF_ERR) | ||
998 | irq_stat &= ~PORT_IRQ_IF_ERR; | ||
999 | |||
972 | if (irq_stat & PORT_IRQ_TF_ERR) | 1000 | if (irq_stat & PORT_IRQ_TF_ERR) |
973 | err_mask |= AC_ERR_DEV; | 1001 | err_mask |= AC_ERR_DEV; |
974 | 1002 | ||
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 377425e71391..4a80ff9312b8 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c | |||
@@ -116,6 +116,7 @@ static struct scsi_host_template generic_sht = { | |||
116 | .proc_name = DRV_NAME, | 116 | .proc_name = DRV_NAME, |
117 | .dma_boundary = ATA_DMA_BOUNDARY, | 117 | .dma_boundary = ATA_DMA_BOUNDARY, |
118 | .slave_configure = ata_scsi_slave_config, | 118 | .slave_configure = ata_scsi_slave_config, |
119 | .slave_destroy = ata_scsi_slave_destroy, | ||
119 | .bios_param = ata_std_bios_param, | 120 | .bios_param = ata_std_bios_param, |
120 | }; | 121 | }; |
121 | 122 | ||
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index c872b324dbd3..4c32d93d44b1 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -1451,6 +1451,7 @@ nothing_to_do: | |||
1451 | 1451 | ||
1452 | static void ata_scsi_qc_complete(struct ata_queued_cmd *qc) | 1452 | static void ata_scsi_qc_complete(struct ata_queued_cmd *qc) |
1453 | { | 1453 | { |
1454 | struct ata_port *ap = qc->ap; | ||
1454 | struct scsi_cmnd *cmd = qc->scsicmd; | 1455 | struct scsi_cmnd *cmd = qc->scsicmd; |
1455 | u8 *cdb = cmd->cmnd; | 1456 | u8 *cdb = cmd->cmnd; |
1456 | int need_sense = (qc->err_mask != 0); | 1457 | int need_sense = (qc->err_mask != 0); |
@@ -1459,11 +1460,12 @@ static void ata_scsi_qc_complete(struct ata_queued_cmd *qc) | |||
1459 | * schedule EH_REVALIDATE operation to update the IDENTIFY DEVICE | 1460 | * schedule EH_REVALIDATE operation to update the IDENTIFY DEVICE |
1460 | * cache | 1461 | * cache |
1461 | */ | 1462 | */ |
1462 | if (!need_sense && (qc->tf.command == ATA_CMD_SET_FEATURES) && | 1463 | if (ap->ops->error_handler && |
1464 | !need_sense && (qc->tf.command == ATA_CMD_SET_FEATURES) && | ||
1463 | ((qc->tf.feature == SETFEATURES_WC_ON) || | 1465 | ((qc->tf.feature == SETFEATURES_WC_ON) || |
1464 | (qc->tf.feature == SETFEATURES_WC_OFF))) { | 1466 | (qc->tf.feature == SETFEATURES_WC_OFF))) { |
1465 | qc->ap->eh_info.action |= ATA_EH_REVALIDATE; | 1467 | ap->eh_info.action |= ATA_EH_REVALIDATE; |
1466 | ata_port_schedule_eh(qc->ap); | 1468 | ata_port_schedule_eh(ap); |
1467 | } | 1469 | } |
1468 | 1470 | ||
1469 | /* For ATA pass thru (SAT) commands, generate a sense block if | 1471 | /* For ATA pass thru (SAT) commands, generate a sense block if |
@@ -1490,8 +1492,8 @@ static void ata_scsi_qc_complete(struct ata_queued_cmd *qc) | |||
1490 | } | 1492 | } |
1491 | } | 1493 | } |
1492 | 1494 | ||
1493 | if (need_sense && !qc->ap->ops->error_handler) | 1495 | if (need_sense && !ap->ops->error_handler) |
1494 | ata_dump_status(qc->ap->id, &qc->result_tf); | 1496 | ata_dump_status(ap->id, &qc->result_tf); |
1495 | 1497 | ||
1496 | qc->scsidone(cmd); | 1498 | qc->scsidone(cmd); |
1497 | 1499 | ||
@@ -3347,20 +3349,23 @@ EXPORT_SYMBOL_GPL(ata_sas_slave_configure); | |||
3347 | * @ap: ATA port to which the command is being sent | 3349 | * @ap: ATA port to which the command is being sent |
3348 | * | 3350 | * |
3349 | * RETURNS: | 3351 | * RETURNS: |
3350 | * Zero. | 3352 | * Return value from __ata_scsi_queuecmd() if @cmd can be queued, |
3353 | * 0 otherwise. | ||
3351 | */ | 3354 | */ |
3352 | 3355 | ||
3353 | int ata_sas_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *), | 3356 | int ata_sas_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *), |
3354 | struct ata_port *ap) | 3357 | struct ata_port *ap) |
3355 | { | 3358 | { |
3359 | int rc = 0; | ||
3360 | |||
3356 | ata_scsi_dump_cdb(ap, cmd); | 3361 | ata_scsi_dump_cdb(ap, cmd); |
3357 | 3362 | ||
3358 | if (likely(ata_scsi_dev_enabled(ap->device))) | 3363 | if (likely(ata_scsi_dev_enabled(ap->device))) |
3359 | __ata_scsi_queuecmd(cmd, done, ap->device); | 3364 | rc = __ata_scsi_queuecmd(cmd, done, ap->device); |
3360 | else { | 3365 | else { |
3361 | cmd->result = (DID_BAD_TARGET << 16); | 3366 | cmd->result = (DID_BAD_TARGET << 16); |
3362 | done(cmd); | 3367 | done(cmd); |
3363 | } | 3368 | } |
3364 | return 0; | 3369 | return rc; |
3365 | } | 3370 | } |
3366 | EXPORT_SYMBOL_GPL(ata_sas_queuecmd); | 3371 | EXPORT_SYMBOL_GPL(ata_sas_queuecmd); |
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 1d695df5860a..64eed99f6814 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c | |||
@@ -346,6 +346,7 @@ static struct scsi_host_template ali_sht = { | |||
346 | .proc_name = DRV_NAME, | 346 | .proc_name = DRV_NAME, |
347 | .dma_boundary = ATA_DMA_BOUNDARY, | 347 | .dma_boundary = ATA_DMA_BOUNDARY, |
348 | .slave_configure = ata_scsi_slave_config, | 348 | .slave_configure = ata_scsi_slave_config, |
349 | .slave_destroy = ata_scsi_slave_destroy, | ||
349 | .bios_param = ata_std_bios_param, | 350 | .bios_param = ata_std_bios_param, |
350 | }; | 351 | }; |
351 | 352 | ||
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c index 5c47a9e0e0ca..8be46a63af74 100644 --- a/drivers/ata/pata_amd.c +++ b/drivers/ata/pata_amd.c | |||
@@ -333,6 +333,7 @@ static struct scsi_host_template amd_sht = { | |||
333 | .proc_name = DRV_NAME, | 333 | .proc_name = DRV_NAME, |
334 | .dma_boundary = ATA_DMA_BOUNDARY, | 334 | .dma_boundary = ATA_DMA_BOUNDARY, |
335 | .slave_configure = ata_scsi_slave_config, | 335 | .slave_configure = ata_scsi_slave_config, |
336 | .slave_destroy = ata_scsi_slave_destroy, | ||
336 | .bios_param = ata_std_bios_param, | 337 | .bios_param = ata_std_bios_param, |
337 | }; | 338 | }; |
338 | 339 | ||
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 96a098020a8f..2cd30761ca1f 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -314,6 +314,7 @@ static struct scsi_host_template artop_sht = { | |||
314 | .proc_name = DRV_NAME, | 314 | .proc_name = DRV_NAME, |
315 | .dma_boundary = ATA_DMA_BOUNDARY, | 315 | .dma_boundary = ATA_DMA_BOUNDARY, |
316 | .slave_configure = ata_scsi_slave_config, | 316 | .slave_configure = ata_scsi_slave_config, |
317 | .slave_destroy = ata_scsi_slave_destroy, | ||
317 | .bios_param = ata_std_bios_param, | 318 | .bios_param = ata_std_bios_param, |
318 | }; | 319 | }; |
319 | 320 | ||
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 1ce28d2125f4..4e1d3b59adbb 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -216,6 +216,7 @@ static struct scsi_host_template atiixp_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/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index b9bbd1d454bf..29a60df465da 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c | |||
@@ -275,6 +275,7 @@ static struct scsi_host_template cmd64x_sht = { | |||
275 | .proc_name = DRV_NAME, | 275 | .proc_name = DRV_NAME, |
276 | .dma_boundary = ATA_DMA_BOUNDARY, | 276 | .dma_boundary = ATA_DMA_BOUNDARY, |
277 | .slave_configure = ata_scsi_slave_config, | 277 | .slave_configure = ata_scsi_slave_config, |
278 | .slave_destroy = ata_scsi_slave_destroy, | ||
278 | .bios_param = ata_std_bios_param, | 279 | .bios_param = ata_std_bios_param, |
279 | }; | 280 | }; |
280 | 281 | ||
diff --git a/drivers/ata/pata_cs5520.c b/drivers/ata/pata_cs5520.c index 2cd3c0ff76df..33d2b88f9c79 100644 --- a/drivers/ata/pata_cs5520.c +++ b/drivers/ata/pata_cs5520.c | |||
@@ -166,6 +166,7 @@ static struct scsi_host_template cs5520_sht = { | |||
166 | .proc_name = DRV_NAME, | 166 | .proc_name = DRV_NAME, |
167 | .dma_boundary = ATA_DMA_BOUNDARY, | 167 | .dma_boundary = ATA_DMA_BOUNDARY, |
168 | .slave_configure = ata_scsi_slave_config, | 168 | .slave_configure = ata_scsi_slave_config, |
169 | .slave_destroy = ata_scsi_slave_destroy, | ||
169 | .bios_param = ata_std_bios_param, | 170 | .bios_param = ata_std_bios_param, |
170 | }; | 171 | }; |
171 | 172 | ||
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c index a07cc81ef791..981f49223469 100644 --- a/drivers/ata/pata_cs5530.c +++ b/drivers/ata/pata_cs5530.c | |||
@@ -180,6 +180,7 @@ static struct scsi_host_template cs5530_sht = { | |||
180 | .proc_name = DRV_NAME, | 180 | .proc_name = DRV_NAME, |
181 | .dma_boundary = ATA_DMA_BOUNDARY, | 181 | .dma_boundary = ATA_DMA_BOUNDARY, |
182 | .slave_configure = ata_scsi_slave_config, | 182 | .slave_configure = ata_scsi_slave_config, |
183 | .slave_destroy = ata_scsi_slave_destroy, | ||
183 | .bios_param = ata_std_bios_param, | 184 | .bios_param = ata_std_bios_param, |
184 | }; | 185 | }; |
185 | 186 | ||
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c index f8def3f9c618..8dafa4a49fdc 100644 --- a/drivers/ata/pata_cs5535.c +++ b/drivers/ata/pata_cs5535.c | |||
@@ -184,6 +184,7 @@ static struct scsi_host_template cs5535_sht = { | |||
184 | .proc_name = DRV_NAME, | 184 | .proc_name = DRV_NAME, |
185 | .dma_boundary = ATA_DMA_BOUNDARY, | 185 | .dma_boundary = ATA_DMA_BOUNDARY, |
186 | .slave_configure = ata_scsi_slave_config, | 186 | .slave_configure = ata_scsi_slave_config, |
187 | .slave_destroy = ata_scsi_slave_destroy, | ||
187 | .bios_param = ata_std_bios_param, | 188 | .bios_param = ata_std_bios_param, |
188 | }; | 189 | }; |
189 | 190 | ||
diff --git a/drivers/ata/pata_cypress.c b/drivers/ata/pata_cypress.c index 247b43608b14..5a0b811907ee 100644 --- a/drivers/ata/pata_cypress.c +++ b/drivers/ata/pata_cypress.c | |||
@@ -135,6 +135,7 @@ static struct scsi_host_template cy82c693_sht = { | |||
135 | .proc_name = DRV_NAME, | 135 | .proc_name = DRV_NAME, |
136 | .dma_boundary = ATA_DMA_BOUNDARY, | 136 | .dma_boundary = ATA_DMA_BOUNDARY, |
137 | .slave_configure = ata_scsi_slave_config, | 137 | .slave_configure = ata_scsi_slave_config, |
138 | .slave_destroy = ata_scsi_slave_destroy, | ||
138 | .bios_param = ata_std_bios_param, | 139 | .bios_param = ata_std_bios_param, |
139 | }; | 140 | }; |
140 | 141 | ||
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index ef18c60fe140..755f79279de3 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c | |||
@@ -233,6 +233,7 @@ static struct scsi_host_template efar_sht = { | |||
233 | .proc_name = DRV_NAME, | 233 | .proc_name = DRV_NAME, |
234 | .dma_boundary = ATA_DMA_BOUNDARY, | 234 | .dma_boundary = ATA_DMA_BOUNDARY, |
235 | .slave_configure = ata_scsi_slave_config, | 235 | .slave_configure = ata_scsi_slave_config, |
236 | .slave_destroy = ata_scsi_slave_destroy, | ||
236 | .bios_param = ata_std_bios_param, | 237 | .bios_param = ata_std_bios_param, |
237 | }; | 238 | }; |
238 | 239 | ||
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index 6d3e4c0f15fe..c0e150a9586b 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c | |||
@@ -329,6 +329,7 @@ static struct scsi_host_template hpt36x_sht = { | |||
329 | .proc_name = DRV_NAME, | 329 | .proc_name = DRV_NAME, |
330 | .dma_boundary = ATA_DMA_BOUNDARY, | 330 | .dma_boundary = ATA_DMA_BOUNDARY, |
331 | .slave_configure = ata_scsi_slave_config, | 331 | .slave_configure = ata_scsi_slave_config, |
332 | .slave_destroy = ata_scsi_slave_destroy, | ||
332 | .bios_param = ata_std_bios_param, | 333 | .bios_param = ata_std_bios_param, |
333 | }; | 334 | }; |
334 | 335 | ||
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c index fce3fcdc7e79..1eeb16f0fb02 100644 --- a/drivers/ata/pata_hpt37x.c +++ b/drivers/ata/pata_hpt37x.c | |||
@@ -775,6 +775,7 @@ static struct scsi_host_template hpt37x_sht = { | |||
775 | .proc_name = DRV_NAME, | 775 | .proc_name = DRV_NAME, |
776 | .dma_boundary = ATA_DMA_BOUNDARY, | 776 | .dma_boundary = ATA_DMA_BOUNDARY, |
777 | .slave_configure = ata_scsi_slave_config, | 777 | .slave_configure = ata_scsi_slave_config, |
778 | .slave_destroy = ata_scsi_slave_destroy, | ||
778 | .bios_param = ata_std_bios_param, | 779 | .bios_param = ata_std_bios_param, |
779 | }; | 780 | }; |
780 | 781 | ||
diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c index 58cfb2bc8098..47d7664e9eee 100644 --- a/drivers/ata/pata_hpt3x2n.c +++ b/drivers/ata/pata_hpt3x2n.c | |||
@@ -341,6 +341,7 @@ static struct scsi_host_template hpt3x2n_sht = { | |||
341 | .proc_name = DRV_NAME, | 341 | .proc_name = DRV_NAME, |
342 | .dma_boundary = ATA_DMA_BOUNDARY, | 342 | .dma_boundary = ATA_DMA_BOUNDARY, |
343 | .slave_configure = ata_scsi_slave_config, | 343 | .slave_configure = ata_scsi_slave_config, |
344 | .slave_destroy = ata_scsi_slave_destroy, | ||
344 | .bios_param = ata_std_bios_param, | 345 | .bios_param = ata_std_bios_param, |
345 | }; | 346 | }; |
346 | 347 | ||
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c index 3334d72e251b..d216cc564b56 100644 --- a/drivers/ata/pata_hpt3x3.c +++ b/drivers/ata/pata_hpt3x3.c | |||
@@ -118,6 +118,7 @@ static struct scsi_host_template hpt3x3_sht = { | |||
118 | .proc_name = DRV_NAME, | 118 | .proc_name = DRV_NAME, |
119 | .dma_boundary = ATA_DMA_BOUNDARY, | 119 | .dma_boundary = ATA_DMA_BOUNDARY, |
120 | .slave_configure = ata_scsi_slave_config, | 120 | .slave_configure = ata_scsi_slave_config, |
121 | .slave_destroy = ata_scsi_slave_destroy, | ||
121 | .bios_param = ata_std_bios_param, | 122 | .bios_param = ata_std_bios_param, |
122 | }; | 123 | }; |
123 | 124 | ||
diff --git a/drivers/ata/pata_isapnp.c b/drivers/ata/pata_isapnp.c index 640b8b0954f5..40ca2b82b7fc 100644 --- a/drivers/ata/pata_isapnp.c +++ b/drivers/ata/pata_isapnp.c | |||
@@ -34,6 +34,7 @@ static struct scsi_host_template isapnp_sht = { | |||
34 | .proc_name = DRV_NAME, | 34 | .proc_name = DRV_NAME, |
35 | .dma_boundary = ATA_DMA_BOUNDARY, | 35 | .dma_boundary = ATA_DMA_BOUNDARY, |
36 | .slave_configure = ata_scsi_slave_config, | 36 | .slave_configure = ata_scsi_slave_config, |
37 | .slave_destroy = ata_scsi_slave_destroy, | ||
37 | .bios_param = ata_std_bios_param, | 38 | .bios_param = ata_std_bios_param, |
38 | }; | 39 | }; |
39 | 40 | ||
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index 18ff3e59a89b..7f68f14be6fd 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -675,6 +675,7 @@ static struct scsi_host_template it821x_sht = { | |||
675 | .proc_name = DRV_NAME, | 675 | .proc_name = DRV_NAME, |
676 | .dma_boundary = ATA_DMA_BOUNDARY, | 676 | .dma_boundary = ATA_DMA_BOUNDARY, |
677 | .slave_configure = ata_scsi_slave_config, | 677 | .slave_configure = ata_scsi_slave_config, |
678 | .slave_destroy = ata_scsi_slave_destroy, | ||
678 | .bios_param = ata_std_bios_param, | 679 | .bios_param = ata_std_bios_param, |
679 | }; | 680 | }; |
680 | 681 | ||
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 52a2bdf3c38d..0210b10d49cd 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c | |||
@@ -136,6 +136,7 @@ static struct scsi_host_template jmicron_sht = { | |||
136 | .proc_name = DRV_NAME, | 136 | .proc_name = DRV_NAME, |
137 | .dma_boundary = ATA_DMA_BOUNDARY, | 137 | .dma_boundary = ATA_DMA_BOUNDARY, |
138 | .slave_configure = ata_scsi_slave_config, | 138 | .slave_configure = ata_scsi_slave_config, |
139 | .slave_destroy = ata_scsi_slave_destroy, | ||
139 | /* Use standard CHS mapping rules */ | 140 | /* Use standard CHS mapping rules */ |
140 | .bios_param = ata_std_bios_param, | 141 | .bios_param = ata_std_bios_param, |
141 | }; | 142 | }; |
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index 10231ef731d1..b39078b2a47b 100644 --- a/drivers/ata/pata_legacy.c +++ b/drivers/ata/pata_legacy.c | |||
@@ -135,6 +135,7 @@ static struct scsi_host_template legacy_sht = { | |||
135 | .proc_name = DRV_NAME, | 135 | .proc_name = DRV_NAME, |
136 | .dma_boundary = ATA_DMA_BOUNDARY, | 136 | .dma_boundary = ATA_DMA_BOUNDARY, |
137 | .slave_configure = ata_scsi_slave_config, | 137 | .slave_configure = ata_scsi_slave_config, |
138 | .slave_destroy = ata_scsi_slave_destroy, | ||
138 | .bios_param = ata_std_bios_param, | 139 | .bios_param = ata_std_bios_param, |
139 | }; | 140 | }; |
140 | 141 | ||
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c index 9dfe3e9abea3..e00d406bfdf5 100644 --- a/drivers/ata/pata_mpiix.c +++ b/drivers/ata/pata_mpiix.c | |||
@@ -166,6 +166,7 @@ static struct scsi_host_template mpiix_sht = { | |||
166 | .proc_name = DRV_NAME, | 166 | .proc_name = DRV_NAME, |
167 | .dma_boundary = ATA_DMA_BOUNDARY, | 167 | .dma_boundary = ATA_DMA_BOUNDARY, |
168 | .slave_configure = ata_scsi_slave_config, | 168 | .slave_configure = ata_scsi_slave_config, |
169 | .slave_destroy = ata_scsi_slave_destroy, | ||
169 | .bios_param = ata_std_bios_param, | 170 | .bios_param = ata_std_bios_param, |
170 | }; | 171 | }; |
171 | 172 | ||
diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c index f5672de99c22..1963a4d35873 100644 --- a/drivers/ata/pata_netcell.c +++ b/drivers/ata/pata_netcell.c | |||
@@ -62,6 +62,7 @@ static struct scsi_host_template netcell_sht = { | |||
62 | .proc_name = DRV_NAME, | 62 | .proc_name = DRV_NAME, |
63 | .dma_boundary = ATA_DMA_BOUNDARY, | 63 | .dma_boundary = ATA_DMA_BOUNDARY, |
64 | .slave_configure = ata_scsi_slave_config, | 64 | .slave_configure = ata_scsi_slave_config, |
65 | .slave_destroy = ata_scsi_slave_destroy, | ||
65 | /* Use standard CHS mapping rules */ | 66 | /* Use standard CHS mapping rules */ |
66 | .bios_param = ata_std_bios_param, | 67 | .bios_param = ata_std_bios_param, |
67 | }; | 68 | }; |
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c index 2a3dbeed89b4..7ec800f00ec8 100644 --- a/drivers/ata/pata_ns87410.c +++ b/drivers/ata/pata_ns87410.c | |||
@@ -156,6 +156,7 @@ static struct scsi_host_template ns87410_sht = { | |||
156 | .proc_name = DRV_NAME, | 156 | .proc_name = DRV_NAME, |
157 | .dma_boundary = ATA_DMA_BOUNDARY, | 157 | .dma_boundary = ATA_DMA_BOUNDARY, |
158 | .slave_configure = ata_scsi_slave_config, | 158 | .slave_configure = ata_scsi_slave_config, |
159 | .slave_destroy = ata_scsi_slave_destroy, | ||
159 | .bios_param = ata_std_bios_param, | 160 | .bios_param = ata_std_bios_param, |
160 | }; | 161 | }; |
161 | 162 | ||
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index fc947dfecd73..8837256632e9 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c | |||
@@ -231,6 +231,7 @@ static struct scsi_host_template oldpiix_sht = { | |||
231 | .proc_name = DRV_NAME, | 231 | .proc_name = DRV_NAME, |
232 | .dma_boundary = ATA_DMA_BOUNDARY, | 232 | .dma_boundary = ATA_DMA_BOUNDARY, |
233 | .slave_configure = ata_scsi_slave_config, | 233 | .slave_configure = ata_scsi_slave_config, |
234 | .slave_destroy = ata_scsi_slave_destroy, | ||
234 | .bios_param = ata_std_bios_param, | 235 | .bios_param = ata_std_bios_param, |
235 | }; | 236 | }; |
236 | 237 | ||
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c index a7320ba15575..c6319cf50de4 100644 --- a/drivers/ata/pata_opti.c +++ b/drivers/ata/pata_opti.c | |||
@@ -202,6 +202,7 @@ static struct scsi_host_template opti_sht = { | |||
202 | .proc_name = DRV_NAME, | 202 | .proc_name = DRV_NAME, |
203 | .dma_boundary = ATA_DMA_BOUNDARY, | 203 | .dma_boundary = ATA_DMA_BOUNDARY, |
204 | .slave_configure = ata_scsi_slave_config, | 204 | .slave_configure = ata_scsi_slave_config, |
205 | .slave_destroy = ata_scsi_slave_destroy, | ||
205 | .bios_param = ata_std_bios_param, | 206 | .bios_param = ata_std_bios_param, |
206 | }; | 207 | }; |
207 | 208 | ||
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c index c6906b4215de..2f4770cce04e 100644 --- a/drivers/ata/pata_optidma.c +++ b/drivers/ata/pata_optidma.c | |||
@@ -359,6 +359,7 @@ static struct scsi_host_template optidma_sht = { | |||
359 | .proc_name = DRV_NAME, | 359 | .proc_name = DRV_NAME, |
360 | .dma_boundary = ATA_DMA_BOUNDARY, | 360 | .dma_boundary = ATA_DMA_BOUNDARY, |
361 | .slave_configure = ata_scsi_slave_config, | 361 | .slave_configure = ata_scsi_slave_config, |
362 | .slave_destroy = ata_scsi_slave_destroy, | ||
362 | .bios_param = ata_std_bios_param, | 363 | .bios_param = ata_std_bios_param, |
363 | }; | 364 | }; |
364 | 365 | ||
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index e93ea2702c73..999922de476e 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -69,6 +69,7 @@ static struct scsi_host_template pcmcia_sht = { | |||
69 | .proc_name = DRV_NAME, | 69 | .proc_name = DRV_NAME, |
70 | .dma_boundary = ATA_DMA_BOUNDARY, | 70 | .dma_boundary = ATA_DMA_BOUNDARY, |
71 | .slave_configure = ata_scsi_slave_config, | 71 | .slave_configure = ata_scsi_slave_config, |
72 | .slave_destroy = ata_scsi_slave_destroy, | ||
72 | .bios_param = ata_std_bios_param, | 73 | .bios_param = ata_std_bios_param, |
73 | }; | 74 | }; |
74 | 75 | ||
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c index d894d9918b1d..beb6d10a234b 100644 --- a/drivers/ata/pata_pdc2027x.c +++ b/drivers/ata/pata_pdc2027x.c | |||
@@ -141,6 +141,7 @@ static struct scsi_host_template pdc2027x_sht = { | |||
141 | .proc_name = DRV_NAME, | 141 | .proc_name = DRV_NAME, |
142 | .dma_boundary = ATA_DMA_BOUNDARY, | 142 | .dma_boundary = ATA_DMA_BOUNDARY, |
143 | .slave_configure = ata_scsi_slave_config, | 143 | .slave_configure = ata_scsi_slave_config, |
144 | .slave_destroy = ata_scsi_slave_destroy, | ||
144 | .bios_param = ata_std_bios_param, | 145 | .bios_param = ata_std_bios_param, |
145 | }; | 146 | }; |
146 | 147 | ||
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index 5ba9eb20a6c2..6baf51b2fda1 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
@@ -269,6 +269,7 @@ static struct scsi_host_template pdc_sht = { | |||
269 | .proc_name = DRV_NAME, | 269 | .proc_name = DRV_NAME, |
270 | .dma_boundary = ATA_DMA_BOUNDARY, | 270 | .dma_boundary = ATA_DMA_BOUNDARY, |
271 | .slave_configure = ata_scsi_slave_config, | 271 | .slave_configure = ata_scsi_slave_config, |
272 | .slave_destroy = ata_scsi_slave_destroy, | ||
272 | .bios_param = ata_std_bios_param, | 273 | .bios_param = ata_std_bios_param, |
273 | }; | 274 | }; |
274 | 275 | ||
diff --git a/drivers/ata/pata_qdi.c b/drivers/ata/pata_qdi.c index 2c3cc0ccc606..314938dea1fc 100644 --- a/drivers/ata/pata_qdi.c +++ b/drivers/ata/pata_qdi.c | |||
@@ -164,6 +164,7 @@ static struct scsi_host_template qdi_sht = { | |||
164 | .proc_name = DRV_NAME, | 164 | .proc_name = DRV_NAME, |
165 | .dma_boundary = ATA_DMA_BOUNDARY, | 165 | .dma_boundary = ATA_DMA_BOUNDARY, |
166 | .slave_configure = ata_scsi_slave_config, | 166 | .slave_configure = ata_scsi_slave_config, |
167 | .slave_destroy = ata_scsi_slave_destroy, | ||
167 | .bios_param = ata_std_bios_param, | 168 | .bios_param = ata_std_bios_param, |
168 | }; | 169 | }; |
169 | 170 | ||
diff --git a/drivers/ata/pata_radisys.c b/drivers/ata/pata_radisys.c index 1af83d7694d5..048c2bb21ef1 100644 --- a/drivers/ata/pata_radisys.c +++ b/drivers/ata/pata_radisys.c | |||
@@ -227,6 +227,7 @@ static struct scsi_host_template radisys_sht = { | |||
227 | .proc_name = DRV_NAME, | 227 | .proc_name = DRV_NAME, |
228 | .dma_boundary = ATA_DMA_BOUNDARY, | 228 | .dma_boundary = ATA_DMA_BOUNDARY, |
229 | .slave_configure = ata_scsi_slave_config, | 229 | .slave_configure = ata_scsi_slave_config, |
230 | .slave_destroy = ata_scsi_slave_destroy, | ||
230 | .bios_param = ata_std_bios_param, | 231 | .bios_param = ata_std_bios_param, |
231 | }; | 232 | }; |
232 | 233 | ||
diff --git a/drivers/ata/pata_rz1000.c b/drivers/ata/pata_rz1000.c index 4533b6357d99..e4e5ea423fef 100644 --- a/drivers/ata/pata_rz1000.c +++ b/drivers/ata/pata_rz1000.c | |||
@@ -90,6 +90,7 @@ static struct scsi_host_template rz1000_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/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c index 067d9d223e35..0c75dae74764 100644 --- a/drivers/ata/pata_sc1200.c +++ b/drivers/ata/pata_sc1200.c | |||
@@ -193,6 +193,7 @@ static struct scsi_host_template sc1200_sht = { | |||
193 | .proc_name = DRV_NAME, | 193 | .proc_name = DRV_NAME, |
194 | .dma_boundary = ATA_DMA_BOUNDARY, | 194 | .dma_boundary = ATA_DMA_BOUNDARY, |
195 | .slave_configure = ata_scsi_slave_config, | 195 | .slave_configure = ata_scsi_slave_config, |
196 | .slave_destroy = ata_scsi_slave_destroy, | ||
196 | .bios_param = ata_std_bios_param, | 197 | .bios_param = ata_std_bios_param, |
197 | }; | 198 | }; |
198 | 199 | ||
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 5bbf76ec14a4..be7f60efcb61 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -325,6 +325,7 @@ static struct scsi_host_template serverworks_sht = { | |||
325 | .proc_name = DRV_NAME, | 325 | .proc_name = DRV_NAME, |
326 | .dma_boundary = ATA_DMA_BOUNDARY, | 326 | .dma_boundary = ATA_DMA_BOUNDARY, |
327 | .slave_configure = ata_scsi_slave_config, | 327 | .slave_configure = ata_scsi_slave_config, |
328 | .slave_destroy = ata_scsi_slave_destroy, | ||
328 | .bios_param = ata_std_bios_param, | 329 | .bios_param = ata_std_bios_param, |
329 | }; | 330 | }; |
330 | 331 | ||
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index 4a2b72b4be8a..11942fd03b55 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c | |||
@@ -225,6 +225,7 @@ static struct scsi_host_template sil680_sht = { | |||
225 | .proc_name = DRV_NAME, | 225 | .proc_name = DRV_NAME, |
226 | .dma_boundary = ATA_DMA_BOUNDARY, | 226 | .dma_boundary = ATA_DMA_BOUNDARY, |
227 | .slave_configure = ata_scsi_slave_config, | 227 | .slave_configure = ata_scsi_slave_config, |
228 | .slave_destroy = ata_scsi_slave_destroy, | ||
228 | .bios_param = ata_std_bios_param, | 229 | .bios_param = ata_std_bios_param, |
229 | }; | 230 | }; |
230 | 231 | ||
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index b9ffafb4198c..91e85f90941d 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -545,6 +545,7 @@ static struct scsi_host_template sis_sht = { | |||
545 | .proc_name = DRV_NAME, | 545 | .proc_name = DRV_NAME, |
546 | .dma_boundary = ATA_DMA_BOUNDARY, | 546 | .dma_boundary = ATA_DMA_BOUNDARY, |
547 | .slave_configure = ata_scsi_slave_config, | 547 | .slave_configure = ata_scsi_slave_config, |
548 | .slave_destroy = ata_scsi_slave_destroy, | ||
548 | .bios_param = ata_std_bios_param, | 549 | .bios_param = ata_std_bios_param, |
549 | }; | 550 | }; |
550 | 551 | ||
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c index 08a6dc88676f..dc1cfc6d805b 100644 --- a/drivers/ata/pata_sl82c105.c +++ b/drivers/ata/pata_sl82c105.c | |||
@@ -237,6 +237,7 @@ static struct scsi_host_template sl82c105_sht = { | |||
237 | .proc_name = DRV_NAME, | 237 | .proc_name = DRV_NAME, |
238 | .dma_boundary = ATA_DMA_BOUNDARY, | 238 | .dma_boundary = ATA_DMA_BOUNDARY, |
239 | .slave_configure = ata_scsi_slave_config, | 239 | .slave_configure = ata_scsi_slave_config, |
240 | .slave_destroy = ata_scsi_slave_destroy, | ||
240 | .bios_param = ata_std_bios_param, | 241 | .bios_param = ata_std_bios_param, |
241 | }; | 242 | }; |
242 | 243 | ||
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index 9640f80e8b0d..bfda1f7e760a 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c | |||
@@ -192,6 +192,7 @@ static struct scsi_host_template triflex_sht = { | |||
192 | .proc_name = DRV_NAME, | 192 | .proc_name = DRV_NAME, |
193 | .dma_boundary = ATA_DMA_BOUNDARY, | 193 | .dma_boundary = ATA_DMA_BOUNDARY, |
194 | .slave_configure = ata_scsi_slave_config, | 194 | .slave_configure = ata_scsi_slave_config, |
195 | .slave_destroy = ata_scsi_slave_destroy, | ||
195 | .bios_param = ata_std_bios_param, | 196 | .bios_param = ata_std_bios_param, |
196 | }; | 197 | }; |
197 | 198 | ||
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c index 1e7be9eee9c3..c5f1616d224d 100644 --- a/drivers/ata/pata_via.c +++ b/drivers/ata/pata_via.c | |||
@@ -295,6 +295,7 @@ static struct scsi_host_template via_sht = { | |||
295 | .proc_name = DRV_NAME, | 295 | .proc_name = DRV_NAME, |
296 | .dma_boundary = ATA_DMA_BOUNDARY, | 296 | .dma_boundary = ATA_DMA_BOUNDARY, |
297 | .slave_configure = ata_scsi_slave_config, | 297 | .slave_configure = ata_scsi_slave_config, |
298 | .slave_destroy = ata_scsi_slave_destroy, | ||
298 | .bios_param = ata_std_bios_param, | 299 | .bios_param = ata_std_bios_param, |
299 | }; | 300 | }; |
300 | 301 | ||