Re: pci: add to global list before sysfs?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Ossman <drzeus-list@...>
Cc: LKML <linux-kernel@...>
Date: Saturday, April 5, 2008 - 11:53 am

On Sat, Apr 05, 2008 at 11:57:27AM +0200, Pierre Ossman wrote:

Well the "global list" was not being used for anything, and it was being
created at the same time the driver core list was, so unless you wanted
to change the way that all pci devices were probed/created, it would not
have worked out.


Why not just create a thread in your driver, or timer, and sleep until
you see the other devices?  If after a certian time you never do, then
bail out.

That should work properly for you for both cases (startup and loading
later.)

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pci: add to global list before sysfs?, Pierre Ossman, (Fri Apr 4, 1:13 pm)
Re: pci: add to global list before sysfs?, Greg KH, (Fri Apr 4, 5:01 pm)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Sun Apr 13, 5:35 pm)
Re: pci: add to global list before sysfs?, Greg KH, (Tue Apr 15, 3:13 pm)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Tue Apr 15, 5:53 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 5:57 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sat Apr 5, 11:53 am)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 12:55 pm)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Sun Apr 13, 5:37 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Mon Apr 14, 4:35 am)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Mon Apr 14, 4:58 am)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Mon Apr 14, 6:58 am)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Mon Apr 14, 4:57 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sat Apr 5, 1:12 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 2:27 pm)
Re: pci: add to global list before sysfs?, Greg KH, (Mon Apr 7, 11:41 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sun Apr 13, 8:33 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sun Apr 13, 1:51 pm)