public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	hch@infradead.org (Christoph Hellwig)
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IDE update for 2.6.7-rc3 [1/12]
Date: Sun, 13 Jun 2004 20:01:44 +0200	[thread overview]
Message-ID: <200406132001.44262.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <E1BZQSC-0006vd-00@gondolin.me.apana.org.au>

On Sunday 13 of June 2004 10:35, Herbert Xu wrote:
> Christoph Hellwig <hch@infradead.org> wrote:
> > On Fri, Jun 11, 2004 at 05:50:30PM +0200, Bartlomiej Zolnierkiewicz wrote:
> >> Probably some drivers are still missed because I changed only
> >> these drivers that I knew that there are PCI cards using them.
> >>
> >> If you know about PCI cards using other drivers please speak up.
> >
> > IMHO the PCI ->probe methods should always be __devinit.  It's rather
> > hard to make sure they're never every hotplugged in any way, especially
> > with the dynamic id adding via sysfs thing.
>
> Well the reason I made them all __devinit in my patch is because it
> also tries to maintain the same PCI probing order as a builtin kernel
> when IDE is built as a module.
>
> To do that all the PCI driver modules are loaded before probing takes
> place.  Therefore if any probing funciton is declared as __init then
> this will not work.

This makes ordering of IDE devices different in Debian-2.6
and vanilla 2.4/2.6, doesn't sound like a good thing to do.

Ideally ordering should be controlled by user-space. :-)

BTW ide-generic.c is a very wrong place to add ide_scan_pcibus() call

Cheers.

> Cheers,


  reply	other threads:[~2004-06-13 17:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 15:50 [PATCH] IDE update for 2.6.7-rc3 [1/12] Bartlomiej Zolnierkiewicz
2004-06-12 10:34 ` Christoph Hellwig
2004-06-13  8:35   ` Herbert Xu
2004-06-13 18:01     ` Bartlomiej Zolnierkiewicz [this message]
2004-06-13 22:18       ` Herbert Xu
2004-06-14 14:37         ` Bartlomiej Zolnierkiewicz
2004-06-14 21:29           ` Herbert Xu
2004-06-13 17:36   ` Bartlomiej Zolnierkiewicz
2004-06-14  9:58     ` Christoph Hellwig
2004-06-14 14:36       ` Bartlomiej Zolnierkiewicz
2004-06-14 14:44         ` Christoph Hellwig
2004-06-14 15:00         ` dwm
2004-06-14 15:54         ` Greg KH

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=200406132001.44262.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=hch@infradead.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-ide@vger.kernel.org \
    --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