lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Apr 2008 07:37:14 +1000
From:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
To:	Pierre Ossman <drzeus-list@...eus.cx>
Cc:	Greg KH <gregkh@...e.de>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: pci: add to global list before sysfs?


On Sat, 2008-04-05 at 18:55 +0200, Pierre Ossman wrote:
> > 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.)
> > 

You don't need a timer. You can just use the notifier mechanism I added
a while ago that should call you on device addition and removal on the
bus type you are interested in.

Ben.


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ