From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261468AbTJCXpG (ORCPT ); Fri, 3 Oct 2003 19:45:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261528AbTJCXoi (ORCPT ); Fri, 3 Oct 2003 19:44:38 -0400 Received: from mion.elka.pw.edu.pl ([194.29.160.35]:26580 "EHLO mion.elka.pw.edu.pl") by vger.kernel.org with ESMTP id S261607AbTJCXl0 (ORCPT ); Fri, 3 Oct 2003 19:41:26 -0400 From: Bartlomiej Zolnierkiewicz To: linux-kernel@vger.kernel.org Subject: Re: [PATCH] kill dummy init_dma_* from drivers/ide/pci/ Date: Sat, 4 Oct 2003 01:44:53 +0200 User-Agent: KMail/1.5.4 References: <200310040138.08690.bzolnier@elka.pw.edu.pl> In-Reply-To: <200310040138.08690.bzolnier@elka.pw.edu.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310040144.53444.bzolnier@elka.pw.edu.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [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}}, _