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

index 0eadfc0b6a92c25db14ccbdadd4762d255e8c1ff..7c60301aa938b499264f1a68b80c3c9c3fa5de6a 100644 (file)
@@ -563,11 +563,6 @@ static void __init init_hwif_pdc202new (ide_hwif_t *hwif)
 #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 *);
 
index c5e7d5ee0a79316acbcf072ae7ce284dcd5753d9..41008c14240484ee34e7c7cf13940da2534ab038 100644 (file)
@@ -188,7 +188,6 @@ static void init_setup_pdc20270(struct pci_dev *, ide_pci_device_t *);
 static 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[] __devinitdata = {
                .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[] __devinitdata = {
                .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[] __devinitdata = {
                .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[] __devinitdata = {
                .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[] __devinitdata = {
                .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[] __devinitdata = {
                .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[] __devinitdata = {
                .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}},