Re: [PATCH] kill dummy init_dma_* from drivers/ide/pci/
From: Bartlomiej Zolnierkiewicz
Date:  Fri Oct 03 2003 - 18:50:51 EST
[IDE] slc90e66: kill dummy init_dma_slc90e66()
 drivers/ide/pci/slc90e66.c |    5 -----
 drivers/ide/pci/slc90e66.h |    2 --
 2 files changed, 7 deletions(-)
diff -puN drivers/ide/pci/slc90e66.c~ide-slc90e66-init_dma drivers/ide/pci/slc90e66.c
--- linux-2.6.0-test6-bk2/drivers/ide/pci/slc90e66.c~ide-slc90e66-init_dma	2003-10-04 01:14:42.877180080 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/slc90e66.c	2003-10-04 01:14:42.883179168 +0200
@@ -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 *);
 
 
diff -puN drivers/ide/pci/slc90e66.h~ide-slc90e66-init_dma drivers/ide/pci/slc90e66.h
--- linux-2.6.0-test6-bk2/drivers/ide/pci/slc90e66.h~ide-slc90e66-init_dma	2003-10-04 01:14:42.879179776 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/slc90e66.h	2003-10-04 01:15:27.292427936 +0200
@@ -29,7 +29,6 @@ static ide_pci_host_proc_t slc90e66_proc
 
 static 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}},
_
-
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/