Re: pci: add to global list before sysfs?

From: Greg KH
Date: Sun Apr 13 2008 - 13:46:18 EST


On Sun, Apr 13, 2008 at 02:33:11PM +0200, Pierre Ossman wrote:
> On Mon, 7 Apr 2008 20:41:26 -0700
> Greg KH <gregkh@xxxxxxx> wrote:
>
> > On Sat, Apr 05, 2008 at 08:27:09PM +0200, Pierre Ossman wrote:
> > >
> > > No, it's primarily desktop. But these chips are available as
> > > ExpressCards, so I'm trying to get them to work when hot-plugged as
> > > opposed to when permantently wired into the machine.
> >
> > Then I suggest a thread/timer, it shouldn't be that difficult.
> >
>
> I have another idea. Is it guaranteed that the PCI subsystem will add
> devices in order? I.e. will 1f.0 be added before 1f.1, 1f.2 and so on?
> If so, then I can restructure things and get it to work properly
> without any timers.

Yes, that should the be the order in which devices are always scanned.

> Btw, is your @kroah address working? I have a kernel bugzilla entry I
> was hoping to get your input on.

Yes, that address works very well...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/