mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ian Soboroff <ian.soboroff@nist.gov>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@redhat.com>
Subject: Re: [lkml] Linux 2.4.19-ac4
Date: 12 Aug 2002 15:12:06 +0300	[thread overview]
Message-ID: <m3n0rswa21.fsf@euphrates.ncsl.nist.gov> (raw)
In-Reply-To: <1028730702.18156.300.camel@irongate.swansea.linux.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]


Sorry for the delay in responding... I'm on travel and was
disconnected for a while there.

Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> On Tue, 2002-08-06 at 13:30, Ian Soboroff wrote:
> > 
> > Never mind.  It turns out I still have to pass 'ide0=ata66 ide1=ata66'
> > on the kernel command line.  2.4.19-ac4 boots for me!
> 
> Do you have ALI_INIT_CODE_TEST in the file defined or undef ?

I can't find this string anywhere in my source tree... I also looked
through the alim15x3.c code and didn't see anything like it.  So the
bit you have below doesn't seem to be protected by a #ifdef.

I haven't had the chance to do a recompile and reboot, but I will let
you know when I do.  By the way, there used to be a patch (which I've
attached) floating around the Fujitsu P-series community which
essentially disabled the writes to config byte 0x79 (which the
comments say is related to the southbridge).  The other workaround
people used was passing 'ide0=ata66 ide1=ata66' on the command line.

Anyway, I'll let you know if it works as soon as I get a chance to
test it.

ian

[-- Attachment #2: alim15x3.patch_2.4.18 --]
[-- Type: text/plain, Size: 1139 bytes --]

*** linux/drivers/ide/alim15x3.c.orig	Tue Jan 29 20:22:49 2002
--- linux/drivers/ide/alim15x3.c	Tue Jan 29 20:23:50 2002
***************
*** 573,589 ****
  		/*
  		 * 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);
  		}
  		/*
  		 * Ultra66 cable detection (from Host View)
--- 573,589 ----
  		/*
  		 * 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);
  		}
  		/*
  		 * Ultra66 cable detection (from Host View)

  reply	other threads:[~2002-08-12 12:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-05 11:47 Alan Cox
2002-08-05 18:10 ` Tomas Szepe
2002-08-05 18:43   ` Tomas Szepe
2002-08-05 19:59 ` Adrian Bunk
2002-08-05 20:00   ` Alan Cox
2002-08-05 20:56 ` James Mayer
2002-08-05 22:19   ` Alan Cox
2002-08-05 22:31     ` Thunder from the hill
2002-08-06  1:58     ` Gary White
2002-08-07 12:22     ` Kasper Dupont
2002-08-05 22:44 ` Adrian Bunk
2002-08-06 12:13 ` [lkml] " Ian Soboroff
2002-08-06 12:30   ` Ian Soboroff
2002-08-07 14:31     ` Alan Cox
2002-08-12 12:12       ` Ian Soboroff [this message]
2002-08-06 15:46 ` Oleg Drokin

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=m3n0rswa21.fsf@euphrates.ncsl.nist.gov \
    --to=ian.soboroff@nist.gov \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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

all inboxes | Powered by JetHome®