Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic l

看板FB_current作者時間14年前 (2011/06/27 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
On Jun 26, 2011, at 4:33 AM, Robert Millan wrote: > 2011/6/26 Hans Petter Selasky <hselasky@c2i.net>: >> Hi, >>=20 >> I see that a lot of PCI device drivers use code to check their ID's. >>=20 >> [...] >=20 > I seem to recall devd doesn't process PCI because it is event-driven = and > there are no "events" associated with PCI cards. That's totally false. > Perhaps it could be modified to scan for PCI cards via libpci on = initialization > and generate "fake" events for them? Since your premise is false, this solution also is false. Devices are handled in a completely uniform manner in the system. When = they attach, an attach even is generated. When they detach, a detach = event is generated. When there is no driver attached after the = probe/attach sequence, a NOMATCH event is generated. Events are queued = up during the early boot process until devd can run. They are then = processed in order. Devices that haven't had a driver attach to them = would be processed when devd had a chance to start. Warner _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1E1tFZ4b (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1E1tFZ4b (FB_current)