mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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:21 +0200	[thread overview]
Message-ID: <200310040143.21915.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <200310040138.08690.bzolnier@elka.pw.edu.pl>


[IDE] it8172: kill dummy init_dma_it8172()

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

diff -puN drivers/ide/pci/it8172.c~ide-it8172-init_dma drivers/ide/pci/it8172.c
--- linux-2.6.0-test6-bk2/drivers/ide/pci/it8172.c~ide-it8172-init_dma	2003-10-04 01:00:35.851947488 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/it8172.c	2003-10-04 01:00:35.857946576 +0200
@@ -284,11 +284,6 @@ static void __init init_hwif_it8172 (ide
 	hwif->drives[1].autodma = hwif->autodma;
 }
 
-static void __init init_dma_it8172 (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 *);
 
 static int __devinit it8172_init_one(struct pci_dev *dev, const struct pci_device_id *id)
diff -puN drivers/ide/pci/it8172.h~ide-it8172-init_dma drivers/ide/pci/it8172.h
--- linux-2.6.0-test6-bk2/drivers/ide/pci/it8172.h~ide-it8172-init_dma	2003-10-04 01:00:35.853947184 +0200
+++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/it8172.h	2003-10-04 01:00:35.857946576 +0200
@@ -17,7 +17,6 @@ static int it8172_config_chipset_for_dma
 static void init_setup_it8172(struct pci_dev *, ide_pci_device_t *);
 static unsigned int init_chipset_it8172(struct pci_dev *, const char *);
 static void init_hwif_it8172(ide_hwif_t *);
-static void init_dma_it8172(ide_hwif_t *, unsigned long);
 
 static ide_pci_device_t it8172_chipsets[] __devinitdata = {
 	{	/* 0 */
@@ -28,7 +27,6 @@ static ide_pci_device_t it8172_chipsets[
 		.init_chipset	= init_chipset_it8172,
 		.init_iops	= NULL,
 		.init_hwif	= init_hwif_it8172,
-                .init_dma	= init_dma_it8172,
 		.channels	= 2,
 		.autodma	= AUTODMA,
 		.enablebits	= {{0x00,0x00,0x00}, {0x40,0x00,0x01}},

_


  parent reply	other threads:[~2003-10-03 23:44 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 [this message]
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: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.21915.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®