kill dummy init_dma_* from drivers/ide/pci/
PATCH 1/1 kill dummy init_dma_* from drivers/ide/pci/
ide_hwif_setup_dma() checks for !d->init_dma and calls ide_setup_dma() in such case, there is no need for dummy init_dma_* functions.
Remove them from: cmd64x.c, cs5530.c, generic.c, hpt34x.c, it8172.c, ns87415.c, opti621.c, pdcnew.c, piix.c, sc1200.c, siimage.c, sis5513.c and slc90e66.c.
Patches will be posted as replies.
--bartlomiej
[IDE] cmd64x: kill dummy init_dma_cmd64x()
drivers/ide/pci/cmd64x.c | 5 ----- drivers/ide/pci/cmd64x.h | 5 ----- 2 files changed, 10 deletions(-)
drivers/ide/pci/cmd64x.c renamed from drivers/ide/pci/cmd64x.c~ide-cmd64x-init_dma +0 -5
@@ -742,11 +742,6 @@ static void __init init_hwif_cmd64x (ide hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_cmd64x (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);static int __devinit cmd64x_init_one (struct pci_dev *dev,const struct pci_device_id *id)
drivers/ide/pci/cmd64x.h renamed from drivers/ide/pci/cmd64x.h~ide-cmd64x-init_dma +0 -5
@@ -81,7 +81,6 @@ static ide_pci_host_proc_t cmd64x_procs[static unsigned int init_chipset_cmd64x (struct pci_dev *,const char *);static void init_hwif_cmd64x (ide_hwif_t *); -static void init_dma_cmd64x (ide_hwif_t *,unsigned long );static ide_pci_device_t cmd64x_chipsets[]__devinitdata = { {/* 0 */
@@ -91,7 +90,6 @@ static ide_pci_device_t cmd64x_chipsets[ .init_chipset = init_chipset_cmd64x, .init_iops = NULL, .init_hwif = init_hwif_cmd64x, - .init_dma = init_dma_cmd64x, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -104,7 +102,6 @@ static ide_pci_device_t cmd64x_chipsets[ .init_chipset = init_chipset_cmd64x, .init_iops = NULL, .init_hwif = init_hwif_cmd64x, - .init_dma = init_dma_cmd64x, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}},
@@ -117,7 +114,6 @@ static ide_pci_device_t cmd64x_chipsets[ .init_chipset = init_chipset_cmd64x, .init_iops = NULL, .init_hwif = init_hwif_cmd64x, - .init_dma = init_dma_cmd64x, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -130,7 +126,6 @@ static ide_pci_device_t cmd64x_chipsets[ .init_chipset = init_chipset_cmd64x, .init_iops = NULL, .init_hwif = init_hwif_cmd64x, - .init_dma = init_dma_cmd64x, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] cs5530: kill dummy init_dma_cs5530()
drivers/ide/pci/cs5530.c | 13 ------------- drivers/ide/pci/cs5530.h | 2 -- 2 files changed, 15 deletions(-)
drivers/ide/pci/cs5530.c renamed from drivers/ide/pci/cs5530.c~ide-cs5530-init_dma +0 -13
@@ -404,19 +404,6 @@ static void __init init_hwif_cs5530 (ide hwif->drives[1 ].autodma = hwif->autodma; } -/** -* init_dma_cs5530 - set up for DMA -* @hwif: interface -* @dmabase: DMA base address -* -* FIXME: this can go away -*/ - -static void __init init_dma_cs5530 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/cs5530.h renamed from drivers/ide/pci/cs5530.h~ide-cs5530-init_dma +0 -2
@@ -27,7 +27,6 @@ static ide_pci_host_proc_t cs5530_procs[static unsigned int init_chipset_cs5530 (struct pci_dev *,const char *);static void init_hwif_cs5530 (ide_hwif_t *); -static void init_dma_cs5530 (ide_hwif_t *,unsigned long );static ide_pci_device_t cs5530_chipsets[]__devinitdata = { {/* 0 */
@@ -37,7 +36,6 @@ static ide_pci_device_t cs5530_chipsets[ .init_chipset = init_chipset_cs5530, .init_iops = NULL, .init_hwif = init_hwif_cs5530, - .init_dma = init_dma_cs5530, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] sc1200: kill dummy init_dma_sc1200()
drivers/ide/pci/sc1200.c | 5 ----- drivers/ide/pci/sc1200.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/sc1200.c renamed from drivers/ide/pci/sc1200.c~ide-sc1200-init_dma +0 -5
@@ -545,11 +545,6 @@ static void __init init_hwif_sc1200 (ide hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_sc1200 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/sc1200.h renamed from drivers/ide/pci/sc1200.h~ide-sc1200-init_dma +0 -2
@@ -27,7 +27,6 @@ static ide_pci_host_proc_t sc1200_procs[static unsigned int init_chipset_sc1200 (struct pci_dev *,const char *);static void init_hwif_sc1200 (ide_hwif_t *); -static void init_dma_sc1200 (ide_hwif_t *,unsigned long );static ide_pci_device_t sc1200_chipsets[]__devinitdata = { {/* 0 */
@@ -37,7 +36,6 @@ static ide_pci_device_t sc1200_chipsets[ .init_chipset = init_chipset_sc1200, .init_iops = NULL, .init_hwif = init_hwif_sc1200, - .init_dma = init_dma_sc1200, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] piix: kill dummy init_dma_piix()
drivers/ide/pci/piix.c | 15 --------------- drivers/ide/pci/piix.h | 21 --------------------- 2 files changed, 36 deletions(-)
drivers/ide/pci/piix.c renamed from drivers/ide/pci/piix.c~ide-piix-init_dma +0 -15
@@ -709,21 +709,6 @@ static void __init init_hwif_piix (ide_h hwif->drives[0 ].autodma = hwif->autodma; } -/** -* init_dma_piix - set up the PIIX DMA -* @hwif: IDE interface -* @dmabase: DMA PCI base -* -* Set up the DMA on the PIIX controller, providing a DMA base is -* available. The PIIX follows the normal specs so we do nothing -* magical here. -*/ - -static void __init init_dma_piix (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);/**
drivers/ide/pci/piix.h renamed from drivers/ide/pci/piix.h~ide-piix-init_dma +0 -21
@@ -30,8 +30,6 @@ static ide_pci_host_proc_t piix_procs[]static void init_setup_piix (struct pci_dev *,ide_pci_device_t *);static unsigned int __devinit init_chipset_piix (struct pci_dev *,const char *);static void init_hwif_piix (ide_hwif_t *); -static void init_dma_piix (ide_hwif_t *,unsigned long ); -/* * Table of the various PIIX capability blocks
@@ -47,7 +45,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -61,7 +58,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -75,7 +71,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = NULL, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = NULL, .channels = 2, .autodma = NODMA, .enablebits = {{0x6D,0x80,0x80}, {0x6F,0x80,0x80}},
@@ -89,7 +84,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -103,7 +97,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -117,7 +110,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -131,7 +123,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -145,7 +136,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -159,7 +149,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -173,7 +162,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = NOAUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -187,7 +175,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -201,7 +188,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -215,7 +201,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -229,7 +214,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -243,7 +227,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -257,7 +240,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -271,7 +253,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -285,7 +266,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
@@ -299,7 +279,6 @@ static ide_pci_device_t piix_pci_info[] .init_chipset = init_chipset_piix, .init_iops = NULL, .init_hwif = init_hwif_piix, - .init_dma = init_dma_piix, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
_
[IDE] generic: kill dummy init_dma_generic()
drivers/ide/pci/generic.c | 5 ----- drivers/ide/pci/generic.h | 12 ------------ 2 files changed, 17 deletions(-)
drivers/ide/pci/generic.c renamed from drivers/ide/pci/generic.c~ide-generic-init_dma +0 -5
@@ -72,11 +72,6 @@ static void __init init_hwif_generic (id hwif->drives[1 ].autodma = hwif->autodma; } -static void init_dma_generic (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);#if 0
drivers/ide/pci/generic.h renamed from drivers/ide/pci/generic.h~ide-generic-init_dma +0 -12
@@ -7,7 +7,6 @@static unsigned int init_chipset_generic (struct pci_dev *,const char *);static void init_hwif_generic (ide_hwif_t *); -static void init_dma_generic (ide_hwif_t *,unsigned long );static ide_pci_device_t generic_chipsets[]__devinitdata = { {/* 0 */
@@ -17,7 +16,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x43,0x08,0x08}, {0x47,0x08,0x08}},
@@ -30,7 +28,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -43,7 +40,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -56,7 +52,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = NODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -69,7 +64,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = NODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -82,7 +76,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = NODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -95,7 +88,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -108,7 +100,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = NOAUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -121,7 +112,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = NOAUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -134,7 +124,6 @@ static ide_pci_device_t generic_chipsets .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -157,7 +146,6 @@ static ide_pci_device_t unknown_chipset[ .init_chipset = init_chipset_generic, .init_iops = NULL, .init_hwif = init_hwif_generic, - .init_dma = init_dma_generic, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] siimage: kill dummy init_dma_siimage()
drivers/ide/pci/siimage.c | 14 -------------- drivers/ide/pci/siimage.h | 4 ---- 2 files changed, 18 deletions(-)
drivers/ide/pci/siimage.c renamed from drivers/ide/pci/siimage.c~ide-siimage-init_dma +0 -14
@@ -1150,20 +1150,6 @@ static void __init init_hwif_siimage (id hwif->drives[1 ].autodma = hwif->autodma; } -/** -* init_dma_siimage - set up IDE DMA -* @hwif: interface -* @dmabase: DMA base address to use -* -* For the SI chips this requires no special set up so we can just -* let the IDE DMA core do the usual work. -*/ - -static void __init init_dma_siimage (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/siimage.h renamed from drivers/ide/pci/siimage.h~ide-siimage-init_dma +0 -4
@@ -44,7 +44,6 @@ static ide_pci_host_proc_t siimage_procsstatic unsigned int init_chipset_siimage (struct pci_dev *,const char *);static void init_iops_siimage (ide_hwif_t *);static void init_hwif_siimage (ide_hwif_t *); -static void init_dma_siimage (ide_hwif_t *,unsigned long );static ide_pci_device_t siimage_chipsets[]__devinitdata = { {/* 0 */
@@ -54,7 +53,6 @@ static ide_pci_device_t siimage_chipsets .init_chipset = init_chipset_siimage, .init_iops = init_iops_siimage, .init_hwif = init_hwif_siimage, - .init_dma = init_dma_siimage, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -67,7 +65,6 @@ static ide_pci_device_t siimage_chipsets .init_chipset = init_chipset_siimage, .init_iops = init_iops_siimage, .init_hwif = init_hwif_siimage, - .init_dma = init_dma_siimage, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -80,7 +77,6 @@ static ide_pci_device_t siimage_chipsets .init_chipset = init_chipset_siimage, .init_iops = init_iops_siimage, .init_hwif = init_hwif_siimage, - .init_dma = init_dma_siimage, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] hpt34x: kill dummy init_dma_hpt34x()
drivers/ide/pci/hpt34x.c | 5 ----- drivers/ide/pci/hpt34x.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/hpt34x.c renamed from drivers/ide/pci/hpt34x.c~ide-hpt34x-init_dma +0 -5
@@ -315,11 +315,6 @@ static void __init init_hwif_hpt34x (ide hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_hpt34x (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);static int __devinit hpt34x_init_one (struct pci_dev *dev,const struct pci_device_id *id)
drivers/ide/pci/hpt34x.h renamed from drivers/ide/pci/hpt34x.h~ide-hpt34x-init_dma +0 -2
@@ -33,7 +33,6 @@ static ide_pci_host_proc_t hpt34x_procs[static unsigned int init_chipset_hpt34x (struct pci_dev *,const char *);static void init_hwif_hpt34x (ide_hwif_t *); -static void init_dma_hpt34x (ide_hwif_t *,unsigned long );static ide_pci_device_t hpt34x_chipsets[]__devinitdata = { {/* 0 */
@@ -43,7 +42,6 @@ static ide_pci_device_t hpt34x_chipsets[ .init_chipset = init_chipset_hpt34x, .init_iops = NULL, .init_hwif = init_hwif_hpt34x, - .init_dma = init_dma_hpt34x, .channels = 2, .autodma = NOAUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] it8172: kill dummy init_dma_it8172()
drivers/ide/pci/it8172.c | 5 ----- drivers/ide/pci/it8172.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/it8172.c renamed from drivers/ide/pci/it8172.c~ide-it8172-init_dma +0 -5
@@ -284,11 +284,6 @@ static void __init init_hwif_it8172 (ide hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_it8172 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);static int __devinit it8172_init_one (struct pci_dev *dev,const struct pci_device_id *id)
drivers/ide/pci/it8172.h renamed from drivers/ide/pci/it8172.h~ide-it8172-init_dma +0 -2
@@ -17,7 +17,6 @@ static int it8172_config_chipset_for_dmastatic void init_setup_it8172 (struct pci_dev *,ide_pci_device_t *);static unsigned int init_chipset_it8172 (struct pci_dev *,const char *);static void init_hwif_it8172 (ide_hwif_t *); -static void init_dma_it8172 (ide_hwif_t *,unsigned long );static ide_pci_device_t it8172_chipsets[]__devinitdata = { {/* 0 */
@@ -28,7 +27,6 @@ static ide_pci_device_t it8172_chipsets[ .init_chipset = init_chipset_it8172, .init_iops = NULL, .init_hwif = init_hwif_it8172, - .init_dma = init_dma_it8172, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x40,0x00,0x01}},
_
[IDE] slc90e66: kill dummy init_dma_slc90e66()
drivers/ide/pci/slc90e66.c | 5 ----- drivers/ide/pci/slc90e66.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/slc90e66.c renamed from drivers/ide/pci/slc90e66.c~ide-slc90e66-init_dma +0 -5
@@ -362,11 +362,6 @@ static void __init init_hwif_slc90e66 (i#endif /* !CONFIG_BLK_DEV_IDEDMA */ } -static void __init init_dma_slc90e66 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/slc90e66.h renamed from drivers/ide/pci/slc90e66.h~ide-slc90e66-init_dma +0 -2
@@ -29,7 +29,6 @@ static ide_pci_host_proc_t slc90e66_procstatic unsigned int init_chipset_slc90e66 (struct pci_dev *,const char *);static void init_hwif_slc90e66 (ide_hwif_t *); -static void init_dma_slc90e66 (ide_hwif_t *,unsigned long );static ide_pci_device_t slc90e66_chipsets[]__devinitdata = { {/* 0 */
@@ -39,7 +38,6 @@ static ide_pci_device_t slc90e66_chipset .init_chipset = init_chipset_slc90e66, .init_iops = NULL, .init_hwif = init_hwif_slc90e66, - .init_dma = init_dma_slc90e66, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}},
_
[IDE] sis5513: kill dummy init_dma_sis5513()
drivers/ide/pci/sis5513.c | 5 ----- drivers/ide/pci/sis5513.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/sis5513.c renamed from drivers/ide/pci/sis5513.c~ide-sis5513-init_dma +0 -5
@@ -942,11 +942,6 @@ static void __init init_hwif_sis5513 (idreturn ; } -static void __init init_dma_sis5513 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/sis5513.h renamed from drivers/ide/pci/sis5513.h~ide-sis5513-init_dma +0 -2
@@ -27,7 +27,6 @@ static ide_pci_host_proc_t sis_procs[] _static unsigned int init_chipset_sis5513 (struct pci_dev *,const char *);static void init_hwif_sis5513 (ide_hwif_t *); -static void init_dma_sis5513 (ide_hwif_t *,unsigned long );static ide_pci_device_t sis5513_chipsets[]__devinitdata = { {/* 0 */
@@ -37,7 +36,6 @@ static ide_pci_device_t sis5513_chipsets .init_chipset = init_chipset_sis5513, .init_iops = NULL, .init_hwif = init_hwif_sis5513, - .init_dma = init_dma_sis5513, .channels = 2, .autodma = NOAUTODMA, .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}},
_
[IDE] ns87415: kill dummy init_dma_ns87415()
drivers/ide/pci/ns87415.c | 5 ----- drivers/ide/pci/ns87415.h | 2 -- 2 files changed, 7 deletions(-)
drivers/ide/pci/ns87415.c renamed from drivers/ide/pci/ns87415.c~ide-ns87415-init_dma +0 -5
@@ -217,11 +217,6 @@ static void __init init_hwif_ns87415 (id hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_ns87415 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);static int __devinit ns87415_init_one (struct pci_dev *dev,const struct pci_device_id *id)
drivers/ide/pci/ns87415.h renamed from drivers/ide/pci/ns87415.h~ide-ns87415-init_dma +0 -2
@@ -6,7 +6,6 @@#include <linux/ide.h> static void init_hwif_ns87415 (ide_hwif_t *); -static void init_dma_ns87415 (ide_hwif_t *,unsigned long );static ide_pci_device_t ns87415_chipsets[]__devinitdata = { {/* 0 */
@@ -16,7 +15,6 @@ static ide_pci_device_t ns87415_chipsets .init_chipset = NULL, .init_iops = NULL, .init_hwif = init_hwif_ns87415, - .init_dma = init_dma_ns87415, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_
[IDE] opti621: kill dummy init_dma_opti621()
drivers/ide/pci/opti621.c | 5 ----- drivers/ide/pci/opti621.h | 3 --- 2 files changed, 8 deletions(-)
drivers/ide/pci/opti621.c renamed from drivers/ide/pci/opti621.c~ide-opti621-init_dma +0 -5
@@ -348,11 +348,6 @@ static void __init init_hwif_opti621 (id hwif->drives[1 ].autodma = hwif->autodma; } -static void __init init_dma_opti621 (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);static void __init init_setup_opti621 (struct pci_dev *dev,ide_pci_device_t *d)
drivers/ide/pci/opti621.h renamed from drivers/ide/pci/opti621.h~ide-opti621-init_dma +0 -3
@@ -7,7 +7,6 @@static void init_setup_opti621 (struct pci_dev *,ide_pci_device_t *);static void init_hwif_opti621 (ide_hwif_t *); -static void init_dma_opti621 (ide_hwif_t *,unsigned long );static ide_pci_device_t opti621_chipsets[]__devinitdata = { {/* 0 */
@@ -18,7 +17,6 @@ static ide_pci_device_t opti621_chipsets .init_chipset = NULL, .init_iops = NULL, .init_hwif = init_hwif_opti621, - .init_dma = init_dma_opti621, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
@@ -32,7 +30,6 @@ static ide_pci_device_t opti621_chipsets .init_chipset = NULL, .init_iops = NULL, .init_hwif = init_hwif_opti621, - .init_dma = init_dma_opti621, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}},
_
[IDE] pdc202xx_new: kill dummy init_dma_pdc202new()
drivers/ide/pci/pdc202xx_new.c | 5 ----- drivers/ide/pci/pdc202xx_new.h | 8 -------- 2 files changed, 13 deletions(-)
drivers/ide/pci/pdc202xx_new.c renamed from drivers/ide/pci/pdc202xx_new.c~ide-pdcnew-init_dma +0 -5
@@ -563,11 +563,6 @@ static void __init init_hwif_pdc202new (#endif /* PDC202_DEBUG_CABLE */ } -static void __init init_dma_pdc202new (ide_hwif_t *hwif,unsigned long dmabase) -{ -ide_setup_dma (hwif, dmabase,8 ); -} -extern void ide_setup_pci_device (struct pci_dev *,ide_pci_device_t *);extern void ide_setup_pci_devices (struct pci_dev *,struct pci_dev *,ide_pci_device_t *);
drivers/ide/pci/pdc202xx_new.h renamed from drivers/ide/pci/pdc202xx_new.h~ide-pdcnew-init_dma +0 -8
@@ -188,7 +188,6 @@ static void init_setup_pdc20270(struct pstatic void init_setup_pdc20276 (struct pci_dev *dev,ide_pci_device_t *d);static unsigned int init_chipset_pdcnew (struct pci_dev *,const char *);static void init_hwif_pdc202new (ide_hwif_t *); -static void init_dma_pdc202new (ide_hwif_t *,unsigned long );static ide_pci_device_t pdcnew_chipsets[]__devinitdata = { {/* 0 */
@@ -199,7 +198,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -213,7 +211,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -227,7 +224,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA,#ifdef CONFIG_PDC202XX_FORCE
@@ -245,7 +241,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -259,7 +254,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
@@ -273,7 +267,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA,#ifdef CONFIG_PDC202XX_FORCE
@@ -291,7 +284,6 @@ static ide_pci_device_t pdcnew_chipsets[ .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
_