Re: [PATCH] kill dummy init_dma_* from drivers/ide/pci/

From: Bartlomiej Zolnierkiewicz
Date: Fri Oct 03 2003 - 18:44:34 EST



[IDE] sc1200: kill dummy init_dma_sc1200()

drivers/ide/pci/sc1200.c | 5 -----
drivers/ide/pci/sc1200.h | 2 --
2 files changed, 7 deletions(-)

diff -puN drivers/ide/pci/sc1200.c~ide-sc1200-init_dma drivers/ide/pci/sc1200.c
--- linux-2.6.0-test6-bk2/drivers/ide/pci/sc1200.c~ide-sc1200-init_dma 2003-10-04 01:10:32.528238904 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/sc1200.c 2003-10-04 01:10:32.534237992 +0200
@@ -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 *);


diff -puN drivers/ide/pci/sc1200.h~ide-sc1200-init_dma drivers/ide/pci/sc1200.h
--- linux-2.6.0-test6-bk2/drivers/ide/pci/sc1200.h~ide-sc1200-init_dma 2003-10-04 01:10:32.531238448 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/sc1200.h 2003-10-04 01:11:10.489467920 +0200
@@ -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}},

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/