Re: Can kldload trigger pci bus rescan?



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"



Relevant Pages

  • Re: MacBook ist da
    ... und einem USB 2.0. Wozu soll das denn jetzt wieder gut sein? ... Was ist denn schlecht an USB2.0, PCI-Express und einem Kölner? ... PCCARD ist so sehr Vorfahre des PCI express (na gut, ...
    (de.comp.sys.mac.misc)
  • Fwd: Can kldload trigger pci bus rescan?
    ... It would be cool if pccard and usb also reprobed when kldload ran. ... case is slightly more complex --- having uscanner claim something that ...
    (freebsd-hackers)