public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.20-ac1
Date: Sat, 30 Nov 2002 19:34:56 +0100	[thread overview]
Message-ID: <20021130183456.GJ18259@louise.pinerecords.com> (raw)
In-Reply-To: <20021130164022.GH18259@louise.pinerecords.com>

> So would the following make things more explicit?
> 
> diff -urN linux-2.4.20-ac1/drivers/ide/ide-dma.c linux-2.4.20-ac1.x/drivers/ide/ide-dma.c
> --- linux-2.4.20-ac1/drivers/ide/ide-dma.c	2002-11-30 17:37:32.000000000 +0100
> +++ linux-2.4.20-ac1.x/drivers/ide/ide-dma.c	2002-11-30 17:34:22.000000000 +0100
> @@ -627,6 +627,7 @@
>  {
>  	drive->using_dma = 1;
>  	ide_toggle_bounce(drive, 1);
> +	printk(KERN_INFO "%s: DMA enabled\n", drive->name);
>  	return HWIF(drive)->ide_dma_host_on(drive);
>  }

with the above applied:

VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST380021A, ATA DISK drive
hda: DMA disabled
blk: queue c02d28a0, I/O limit 4095Mb (mask 0xffffffff)
hda: DMA enabled
hdc: PLEXTOR CD-R PX-W2410A, ATAPI CD/DVD-ROM drive
hdd: CD-532E-B, ATAPI CD/DVD-ROM drive
hdc: DMA disabled
hdc: DMA enabled
hdd: DMA disabled
hdd: DMA enabled
...

Not all that cool, is it?  I'm pretty sure the "hda: DMA disabled"
message is printed after via_init_one() completes, but that's just
about all I've been able to find out. :(

-- 
T.

  reply	other threads:[~2002-11-30 18:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29 23:24 Linux 2.4.20-ac1 Alan Cox
2002-11-30  0:47 ` Jarno Paananen
2002-12-01  0:59   ` Dave Jones
2002-11-30  7:00 ` Joshua Kwan
2002-11-30 11:40 ` Steffen Moser
2002-11-30 13:45   ` Alan Cox
2002-11-30 16:40     ` Tomas Szepe
2002-11-30 18:34       ` Tomas Szepe [this message]
2002-12-01  2:01         ` Alan Cox
2002-12-01  9:32           ` Tomas Szepe
2002-12-03 20:06 ` Gary White
2002-12-03 20:21   ` Philippe Gramoullé
  -- strict thread matches above, loose matches on Subject: below --
2002-11-30 12:12 Jens-Christian Skibakk

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=20021130183456.GJ18259@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=alan@redhat.com \
    --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