From: Martin Dalecki <dalecki@evision-ventures.com>
To: John Langford <jcl@cs.cmu.edu>
Cc: Dave Zarzycki <dave@zarzycki.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, ahaas@neosoft.com
Subject: Re: BUG: 2.4.18 & ALI15X3 DMA hang on boot
Date: Sat, 23 Mar 2002 14:25:17 +0100 [thread overview]
Message-ID: <3C9C823D.3080705@evision-ventures.com> (raw)
In-Reply-To: <200203222046.g2MKkt200348@gs176.sp.cs.cmu.edu>
John Langford wrote:
> I did a small tweak and "it seems to work". I have no idea whether or
> not this breaks other configs.
>
> -John
>
> --- linux/drivers/ide/alim15x3.c Sun Jul 15 19:22:23 2001
> +++ linux-2.4.18-hack/drivers/ide/alim15x3.c Fri Mar 22 12:31:28 2002
> @@ -574,17 +574,7 @@
> * set south-bridge's enable bit, m1533, 0x79
> */
> pci_read_config_byte(isa_dev, 0x79, &tmpbyte);
> - if (m5229_revision == 0xC2) {
> - /*
> - * 1543C-B0 (m1533, 0x79, bit 2)
> - */
> - pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04);
> - } else if (m5229_revision >= 0xC3) {
> - /*
> - * 1553/1535 (m1533, 0x79, bit 1)
> - */
> - pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02);
> - }
> + pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04);
> /*
> * Ultra66 cable detection (from Host View)
> * m5229, 0x4a, bit0: primary, bit1: secondary 80 pin
According to the fact that this is setting the enable bit
of the south bridge on this host, the issue appears to be
not tactile. (If your fix where wrong, your system would simply
not work at all.) I will therefore just simply take this patch as
it is... And then I couldn't find any other places
where the 0x02 bit would be used on register 0x79.
Possibly someone just misscounted the bits reading some
errate for different reviaions... or just the errata was wrong.
But before could you just tell the m5229_revision value
on your system?
next prev parent reply other threads:[~2002-03-23 13:27 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-21 20:47 BUG: 2.4.18 & ALI15X3 DMA hang on boot John Langford
2002-03-21 22:17 ` Alan Cox
2002-03-21 22:41 ` John Langford
2002-03-22 0:47 ` Dave Zarzycki
2002-03-22 1:43 ` John Langford
2002-03-22 20:46 ` John Langford
2002-03-23 13:25 ` Martin Dalecki [this message]
2002-03-23 14:19 ` John Langford
2002-03-23 14:22 ` Martin Dalecki
2002-03-23 14:51 ` Art Haas
2002-03-23 19:49 ` Dave Zarzycki
2002-03-24 22:47 ` Martin Dalecki
2002-03-22 10:55 ` Martin Dalecki
2002-03-22 11:24 ` Andre Hedrick
2002-03-22 11:50 ` Martin Dalecki
2002-03-22 15:59 ` John Langford
2002-03-23 5:16 ` Andre Hedrick
2002-03-23 13:05 ` Martin Dalecki
2002-03-25 2:26 ` Andre Hedrick
2002-03-22 13:25 ` Jens Axboe
2002-03-22 14:49 ` Alan Cox
2002-03-22 20:53 ` Andre Hedrick
2002-03-22 21:52 ` Andre Hedrick
2002-03-23 3:51 ` Ian Molton
2002-03-23 3:57 ` Ian Molton
2002-03-22 19:56 ` John Langford
2002-03-22 21:53 ` Vojtech Pavlik
2002-03-23 13:11 ` Martin Dalecki
2002-03-23 13:43 ` Jeff Garzik
2002-03-23 13:47 ` Martin Dalecki
2002-03-23 20:23 ` Vojtech Pavlik
2002-03-23 21:43 ` Andre Hedrick
2002-03-24 22:50 ` Martin Dalecki
2002-03-25 1:26 ` Andre Hedrick
2002-03-25 9:24 ` Vojtech Pavlik
2002-03-25 9:40 ` 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=3C9C823D.3080705@evision-ventures.com \
--to=dalecki@evision-ventures.com \
--cc=ahaas@neosoft.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dave@zarzycki.org \
--cc=jcl@cs.cmu.edu \
--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