diff options
author | Conke Hu <conke.hu@amd.com> | 2007-01-27 07:46:28 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-01-27 07:46:28 -0500 |
commit | 737153298023342073ccaa006144dd254b298e2b (patch) | |
tree | 8751b5cfa162428c5afc1aa553bd67c221757b6e /drivers/ide/pci | |
parent | a51545ab2523b9cfd426737495f877821006371a (diff) |
atiixp.c: remove unused code
A previous patch to atiixp.c was removed but some code has not been
cleaned. Now we remove these code sine they are no use any longer.
Signed-off-by: Conke Hu <conke.hu@amd.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-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 | /** |