diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-01 19:46:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-01 19:46:22 -0500 |
commit | 9ba5aa3126873a9c29999b78de20a52c5f87d389 (patch) | |
tree | 5ee7cc2c3465c3ef557f6f4e35e6c7cb67ece286 /drivers | |
parent | c3e59d1e891f6140a346de2b8547e25133c716b0 (diff) | |
parent | a17259a726c4c9806dc99bda5e904727de76b694 (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[PATCH] libata: add missing sht->slave_destroy
[PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers
Diffstat (limited to 'drivers')
39 files changed, 60 insertions, 5 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index f510e1196dc6..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[] = { |
@@ -327,11 +340,11 @@ static const struct pci_device_id ahci_pci_tbl[] = { | |||
327 | { PCI_VDEVICE(INTEL, 0x294e), board_ahci }, /* ICH9M */ | 340 | { PCI_VDEVICE(INTEL, 0x294e), board_ahci }, /* ICH9M */ |
328 | 341 | ||
329 | /* JMicron */ | 342 | /* JMicron */ |
330 | { PCI_VDEVICE(JMICRON, 0x2360), board_ahci }, /* JMicron JMB360 */ | 343 | { PCI_VDEVICE(JMICRON, 0x2360), board_ahci_ign_iferr }, /* JMB360 */ |
331 | { PCI_VDEVICE(JMICRON, 0x2361), board_ahci }, /* JMicron JMB361 */ | 344 | { PCI_VDEVICE(JMICRON, 0x2361), board_ahci_ign_iferr }, /* JMB361 */ |
332 | { PCI_VDEVICE(JMICRON, 0x2363), board_ahci }, /* JMicron JMB363 */ | 345 | { PCI_VDEVICE(JMICRON, 0x2363), board_ahci_ign_iferr }, /* JMB363 */ |
333 | { PCI_VDEVICE(JMICRON, 0x2365), board_ahci }, /* JMicron JMB365 */ | 346 | { PCI_VDEVICE(JMICRON, 0x2365), board_ahci_ign_iferr }, /* JMB365 */ |
334 | { PCI_VDEVICE(JMICRON, 0x2366), board_ahci }, /* JMicron JMB366 */ | 347 | { PCI_VDEVICE(JMICRON, 0x2366), board_ahci_ign_iferr }, /* JMB366 */ |
335 | 348 | ||
336 | /* ATI */ | 349 | /* ATI */ |
337 | { PCI_VDEVICE(ATI, 0x4380), board_ahci }, /* ATI SB600 non-raid */ | 350 | { PCI_VDEVICE(ATI, 0x4380), board_ahci }, /* ATI SB600 non-raid */ |
@@ -980,6 +993,10 @@ static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) | |||
980 | /* analyze @irq_stat */ | 993 | /* analyze @irq_stat */ |
981 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); | 994 | ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); |
982 | 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 | |||
983 | if (irq_stat & PORT_IRQ_TF_ERR) | 1000 | if (irq_stat & PORT_IRQ_TF_ERR) |
984 | err_mask |= AC_ERR_DEV; | 1001 | err_mask |= AC_ERR_DEV; |
985 | 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/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 | ||