Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: 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 10:37:08 -0600	[thread overview]
Message-ID: <20040922163708.GD4766@colo.lackof.org> (raw)
In-Reply-To: <4150193600000506@mail-7-bnl.tiscali.it>

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?
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.

> 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

Moving the DECLARE_PCI_FIXUP_HEADER() around is probably the clue
I needed to resolve this.

thanks,
grant

  reply	other threads:[~2004-09-22 16:37 UTC|newest]

Thread overview: 13+ 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   ` Grant Grundler
2004-09-17  0:43     ` Bartlomiej Zolnierkiewicz
2004-09-22 10:41       ` a fix for " Joel Soete
2004-09-22 16:37         ` Grant Grundler [this message]
2004-09-22 16:53           ` [parisc-linux] " Matthew Wilcox
2004-09-22 17:21           ` Joel Soete
2004-09-22 17:41             ` [parisc-linux] " 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

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=20040922163708.GD4766@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=bzolnier@elka.pw.edu.pl \
    --cc=linux-ide@vger.kernel.org \
    --cc=parisc-linux@parisc-linux.org \
    --cc=soete.joel@tiscali.be \
    /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