mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: vojtech@suse.cz
Cc: linux-kernel@vger.kernel.org, martin@dalecki.de
Subject: Re: 2.5.7 pre-UDMA PIIX bug
Date: Fri, 29 Mar 2002 19:20:06 +0100 (MET)	[thread overview]
Message-ID: <200203291820.TAA26638@harpo.it.uu.se> (raw)

On Fri, 29 Mar 2002 16:08:18 +0100, Vojtech Pavlik wrote:
>diff -urN linux-2.5.7/drivers/ide/piix.c linux-2.5.7-fixpiix/drivers/ide/piix.c
>--- linux-2.5.7/drivers/ide/piix.c	Fri Mar 29 16:01:51 2002
>+++ linux-2.5.7-fixpiix/drivers/ide/piix.c	Fri Mar 29 16:07:05 2002
...
>@@ -331,7 +331,7 @@
> 		umul = 2;
> 
> 	T = 1000000000 / piix_clock;
>-	UT = T / umul;
>+	UT = umul ? (T / umul) : 0;

That did indeed fix the problem. Thanks.

/Mikael

             reply	other threads:[~2002-03-29 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-29 18:20 Mikael Pettersson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-29 12:39 Mikael Pettersson
2002-03-29 14:00 ` Martin Dalecki
2002-03-29 15:09   ` Vojtech Pavlik
2002-03-29 15:37   ` Bill Davidsen
2002-03-30 14:26     ` Martin Dalecki
2002-03-29 15:08 ` Vojtech Pavlik

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=200203291820.TAA26638@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@dalecki.de \
    --cc=vojtech@suse.cz \
    /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®