From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kill dummy init_dma_* from drivers/ide/pci/
Date: Sat, 4 Oct 2003 01:43:53 +0200 [thread overview]
Message-ID: <200310040143.53218.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <200310040138.08690.bzolnier@elka.pw.edu.pl>
[IDE] pdc202xx_new: kill dummy init_dma_pdc202new()
drivers/ide/pci/pdc202xx_new.c | 5 -----
drivers/ide/pci/pdc202xx_new.h | 8 --------
2 files changed, 13 deletions(-)
diff -puN drivers/ide/pci/pdc202xx_new.c~ide-pdcnew-init_dma drivers/ide/pci/pdc202xx_new.c
--- linux-2.6.0-test6-bk2/drivers/ide/pci/pdc202xx_new.c~ide-pdcnew-init_dma 2003-10-04 01:04:55.593460776 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/pdc202xx_new.c 2003-10-04 01:04:55.599459864 +0200
@@ -563,11 +563,6 @@ static void __init init_hwif_pdc202new (
#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 *);
diff -puN drivers/ide/pci/pdc202xx_new.h~ide-pdcnew-init_dma drivers/ide/pci/pdc202xx_new.h
--- linux-2.6.0-test6-bk2/drivers/ide/pci/pdc202xx_new.h~ide-pdcnew-init_dma 2003-10-04 01:04:55.596460320 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/pdc202xx_new.h 2003-10-04 01:05:43.315205968 +0200
@@ -188,7 +188,6 @@ static void init_setup_pdc20270(struct p
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[
.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[
.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[
.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[
.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[
.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[
.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[
.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}},
_
next prev parent reply other threads:[~2003-10-03 23:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-03 23:38 Bartlomiej Zolnierkiewicz
2003-10-03 23:42 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:42 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:42 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:43 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:43 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:43 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:43 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:43 ` Bartlomiej Zolnierkiewicz [this message]
2003-10-03 23:44 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:44 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:44 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:44 ` Bartlomiej Zolnierkiewicz
2003-10-03 23:45 ` Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310040143.53218.bzolnier@elka.pw.edu.pl \
--to=b.zolnierkiewicz@elka.pw.edu.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®