diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/atiixp.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index 524e65de4398..148af8ab518f 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c | |||
@@ -320,19 +320,6 @@ static void __devinit init_hwif_atiixp(ide_hwif_t *hwif) | |||
320 | hwif->drives[0].autodma = hwif->autodma; | 320 | hwif->drives[0].autodma = hwif->autodma; |
321 | } | 321 | } |
322 | 322 | ||
323 | static void __devinit init_hwif_sb600_legacy(ide_hwif_t *hwif) | ||
324 | { | ||
325 | |||
326 | hwif->atapi_dma = 1; | ||
327 | hwif->ultra_mask = 0x7f; | ||
328 | hwif->mwdma_mask = 0x07; | ||
329 | hwif->swdma_mask = 0x07; | ||
330 | |||
331 | if (!noautodma) | ||
332 | hwif->autodma = 1; | ||
333 | hwif->drives[0].autodma = hwif->autodma; | ||
334 | hwif->drives[1].autodma = hwif->autodma; | ||
335 | } | ||
336 | 323 | ||
337 | static ide_pci_device_t atiixp_pci_info[] __devinitdata = { | 324 | static ide_pci_device_t atiixp_pci_info[] __devinitdata = { |
338 | { /* 0 */ | 325 | { /* 0 */ |
@@ -342,13 +329,7 @@ static ide_pci_device_t atiixp_pci_info[] __devinitdata = { | |||
342 | .autodma = AUTODMA, | 329 | .autodma = AUTODMA, |
343 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, | 330 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, |
344 | .bootable = ON_BOARD, | 331 | .bootable = ON_BOARD, |
345 | },{ /* 1 */ | 332 | }, |
346 | .name = "ATI SB600 SATA Legacy IDE", | ||
347 | .init_hwif = init_hwif_sb600_legacy, | ||
348 | .channels = 2, | ||
349 | .autodma = AUTODMA, | ||
350 | .bootable = ON_BOARD, | ||
351 | } | ||
352 | }; | 333 | }; |
353 | 334 | ||
354 | /** | 335 | /** |