Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 12:33:18 +0200
From:      Robert Millan <rmh@debian.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Jeremy Messenger <mezz.freebsd@gmail.com>, freebsd-current@freebsd.org, Warner Losh <imp@bsdimp.com>
Subject:   Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]
Message-ID:  <BANLkTikdww3jDM_ennzjFHKmKU0WrDBDHA@mail.gmail.com>
In-Reply-To: <201106260738.21847.hselasky@c2i.net>
References:  <201106242342.47194.hselasky@c2i.net> <ACCD2B48-1E78-42B6-883E-542FDFD567F6@bsdimp.com> <201106251907.02052.hselasky@c2i.net> <201106260738.21847.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/6/26 Hans Petter Selasky <hselasky@c2i.net>:
> Hi,
>
> I see that a lot of PCI device drivers use code to check their ID's.
>
> [...]

I seem to recall devd doesn't process PCI because it is event-driven and
there are no "events" associated with PCI cards.

Perhaps it could be modified to scan for PCI cards via libpci on initialization
and generate "fake" events for them?

-- 
Robert Millan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikdww3jDM_ennzjFHKmKU0WrDBDHA>