]> git.hungrycats.org Git - linux/commitdiff
[PATCH] slc90e66: kill dummy init_dma_slc90e66()
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sat, 4 Oct 2003 10:58:52 +0000 (03:58 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 4 Oct 2003 10:58:52 +0000 (03:58 -0700)
drivers/ide/pci/slc90e66.c
drivers/ide/pci/slc90e66.h

index f4be2bac9934e876679d923275e1c8df2adf4168..ae96a90fcc6f343d18703526b11ed6d2425be68a 100644 (file)
@@ -362,11 +362,6 @@ static void __init init_hwif_slc90e66 (ide_hwif_t *hwif)
 #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 *);
 
 
index 3458243aa83c84ca9104050e6bd0b68abd562a56..2ac8673373babb4e6b1491b3d22b25a6e72b2522 100644 (file)
@@ -29,7 +29,6 @@ static ide_pci_host_proc_t slc90e66_procs[] __initdata = {
 
 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_chipsets[] __devinitdata = {
                .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}},