All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joel Soete" <soete.joel@tiscali.be>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>,
	Grant Grundler <grundler@parisc-linux.org>,
	linux-ide@vger.kernel.org, parisc-linux@parisc-linux.org
Subject: Re: a fix for NS87415 on C3K broken
Date: Wed, 22 Sep 2004 19:21:08 +0200	[thread overview]
Message-ID: <41501936000007AF@mail-7-bnl.tiscali.it> (raw)
In-Reply-To: <20040922163708.GD4766@colo.lackof.org>


Hello Grant,

> On Wed, Sep 22, 2004 at 12:41:21PM +0200, Joel Soete wrote:
> > Hello Grant, Bartlomiej and *,
> >
> > I test this patch:
> > --- arch/parisc/kernel/pci.c.Orig	2004-09-22 09:47:02.000000000 +0200
> > +++ arch/parisc/kernel/pci.c	2004-09-22 11:26:02.104187784 +0200
> > @@ -146,6 +146,9 @@
> >  	return str;
> >  }
> > 
> > +/* Used in drivers/pci/quirks.c */
> > +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87415,
superio_fixup_pci);
> 
> Uhm...any clue why this works?
No more clue sorry; I just notived that boot message of 2.6.8.1-pa7:
lba version TR4.0 (0x5) found at 0xfffffffffed30000
PCI: Enabled native mode for NS87415 (pif=0x8f)

became with 2.6.9-rc2:
lba version TR4.0 (0x5) found at 0xfffffffffed30000
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0e.0
PCI: Enabled native mode for NS87415 (pif=0x8f)

(so PCI: Enabled native mode for NS87415 precede by a weird 'ignoring ...
IDE controler)

I so just try to move back the pcibios_fixups initialisation at its previous
place and the message ''ignoring ... IDE controler" disapear ?)
 
> The same entry in drivers/parisc/superio.c should work too but it doesn't.
> I'd rather fix that than just blindly moving it.
> 
no pb

> > That fix the NS87415 pb on my c2k model :)
> > Can somebody check it with some c3k model?
> 
> I expect c3k also to work. I'm not going to test it.
> 
> 
> BTW, I've prepared a patch which moves IDE knowledge
> out of superio.c driver and into drivers/ide/pci/ns87415.c.
> I've not submitted it yet because I haven't successfully tested it
> and it still contains debug printk's.
> It builds and anyone curious is welcome to look at it:
>     ftp://ftp.parisc-linux.org/patches/diff-2.6.9-rc2-ns87415_suckyio_cleanup-01
> 
I will also try it :)

> Moving the DECLARE_PCI_FIXUP_HEADER() around is probably the clue
> I needed to resolve this.
> 
I am curious to find an expalnation too.

Thanks,
    Joel

---------------------------------------------------------------------------
Tiscali ADSL GO, 29,50 Euro/mois pendant toute une année, profitez-en...
http://reg.tiscali.be/adsl/welcome.asp?lg=FR





  parent reply	other threads:[~2004-09-22 17:21 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 16:17 NS87415 on C3K broken Grant Grundler
2004-09-16 22:50 ` Bartlomiej Zolnierkiewicz
2004-09-16 23:25   ` [parisc-linux] " Grant Grundler
2004-09-16 23:25   ` Grant Grundler
2004-09-17  0:43     ` [parisc-linux] " Bartlomiej Zolnierkiewicz
2004-09-17  0:43     ` Bartlomiej Zolnierkiewicz
2004-09-22 10:41       ` [parisc-linux] a fix for " Joel Soete
2004-09-22 10:41       ` Joel Soete
2004-09-22 16:37         ` [parisc-linux] " Grant Grundler
2004-09-22 16:37         ` Grant Grundler
2004-09-22 16:53           ` [parisc-linux] " Matthew Wilcox
2004-09-22 16:53           ` Matthew Wilcox
2004-09-22 17:21           ` Joel Soete
2004-09-22 17:21           ` Joel Soete [this message]
2004-09-22 17:41             ` Matthew Wilcox
2004-09-22 17:41             ` Matthew Wilcox
2004-09-23 16:21             ` Joel Soete
2004-09-23 16:27               ` Randolph Chung
2004-09-24  7:04                 ` Joel Soete
2004-09-24 16:17                   ` Joel Soete
2004-09-24 18:28                     ` Randolph Chung
2004-09-24 16:17                   ` Joel Soete
2004-09-24  7:04                 ` Joel Soete
2004-09-23 16:27               ` Randolph Chung
2004-09-24 16:09           ` Joel Soete
2004-09-16 22:50 ` [parisc-linux] " Bartlomiej Zolnierkiewicz

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=41501936000007AF@mail-7-bnl.tiscali.it \
    --to=soete.joel@tiscali.be \
    --cc=bzolnier@elka.pw.edu.pl \
    --cc=grundler@parisc-linux.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=parisc-linux@parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.