public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Tobias Ringstrom <tori@tellus.mine.nu>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] No VIA IDE DMA unless configured
Date: Wed, 24 Jan 2001 10:24:18 +0100	[thread overview]
Message-ID: <20010124102418.B1031@suse.cz> (raw)
In-Reply-To: <Pine.LNX.4.30.0101232239280.27097-100000@svea.tellus>
In-Reply-To: <Pine.LNX.4.30.0101232239280.27097-100000@svea.tellus>; from tori@tellus.mine.nu on Tue, Jan 23, 2001 at 10:46:14PM +0100

On Tue, Jan 23, 2001 at 10:46:14PM +0100, Tobias Ringstrom wrote:

> Linus, please consider this patch for 2.4.1.  It makes sure the VIA IDE
> driver does not enable DMA automatically, unless the user has requested it
> using "make whateverconfig".
> 
> /Tobias
> 
> --- via82cxxx.c.orig	Tue Jan 23 22:26:25 2001
> +++ via82cxxx.c	Tue Jan 23 22:27:05 2001
> @@ -602,7 +602,9 @@
>  #ifdef CONFIG_BLK_DEV_IDEDMA
>  	if (hwif->dma_base) {
>  		hwif->dmaproc = &via82cxxx_dmaproc;
> +#ifdef CONFIG_IDEDMA_AUTO
>  		hwif->autodma = 1;
> +#endif /* CONFIG_IDEDMA_AUTO */
>  	}
>  #endif /* CONFIG_BLK_DEV_IDEDMA */
>  }
> 

Linus, if you haven't applied my disable-dma-in-all-cases patch I've
sent you earlier, please do apply this one - it's correct and should be
there. It conflicts with the older one, obviously.

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

  reply	other threads:[~2001-01-24  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-23 21:46 [PATCH] No VIA IDE DMA unless configured Tobias Ringstrom
2001-01-24  9:24 ` Vojtech Pavlik [this message]
2001-01-30 20:14   ` Stephen Clark
2001-01-30 20:50     ` Andre Hedrick

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=20010124102418.B1031@suse.cz \
    --to=vojtech@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tori@tellus.mine.nu \
    --cc=torvalds@transmeta.com \
    /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