Re: Can kldload trigger pci bus rescan?
- From: "M. Warner Losh" <imp@xxxxxxxxxx>
- Date: Thu, 27 Apr 2006 12:03:57 -0600 (MDT)
In message: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@xxxxxxxxxxxxxx>
"Zaphod Beeblebrox" <zbeeble@xxxxxxxxx> writes:
: It would be cool if pccard and usb also reprobed when kldload ran. The usb
: case is slightly more complex --- having (say) uscanner claim something that
: ugen is currently claiming.
PC Card has done so for years, OLDCARD and NEWCARD. In fact, you can
even load and unload the bridge driver (cbb today, pcic in yesteryear)
and the pccard bus driver. pccard works very hard to make sure that
these things work.
usb does also, but not in a manner that's useful. It does work with
usb for simple devices when ugen isn't loaded into the kernel.
However, the brain dead way that usb dollops out subdevices makes
fixing it to work like rest of the system difficult... The port from
NetBSD didn't take the time to make the device model match FreeBSD,
but rather just shoe-horned it into the system.
Warner
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Re: Can kldload trigger pci bus rescan?
- From: Darren Pilgrim
- Fwd: Can kldload trigger pci bus rescan?
- From: Zaphod Beeblebrox
- Re: Can kldload trigger pci bus rescan?
- Prev by Date: Re: Intel 6300ESB SATA - Now Tyan B5350G20S2H-LC
- Next by Date: Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1
- Previous by thread: Fwd: Can kldload trigger pci bus rescan?
- Next by thread: Need some help on a pivot_root() syscall implementation
- Index(es):
Relevant Pages
|
|