lkml.org 
[lkml]   [2003]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] kill dummy init_dma_* from drivers/ide/pci/
Date

[IDE] sis5513: kill dummy init_dma_sis5513()

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

diff -puN drivers/ide/pci/sis5513.c~ide-sis5513-init_dma drivers/ide/pci/sis5513.c
--- linux-2.6.0-test6-bk2/drivers/ide/pci/sis5513.c~ide-sis5513-init_dma 2003-10-04 01:12:51.167162584 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/sis5513.c 2003-10-04 01:12:51.173161672 +0200
@@ -942,11 +942,6 @@ static void __init init_hwif_sis5513 (id
return;
}

-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 *);


diff -puN drivers/ide/pci/sis5513.h~ide-sis5513-init_dma drivers/ide/pci/sis5513.h
--- linux-2.6.0-test6-bk2/drivers/ide/pci/sis5513.h~ide-sis5513-init_dma 2003-10-04 01:12:51.170162128 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/sis5513.h 2003-10-04 01:13:18.798961912 +0200
@@ -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}},
_

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

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.111 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site