]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid reprobing on loading a driver. This does not work as the ivars set
authorNick Hibma <n_hibma@FreeBSD.org>
Mon, 17 Jun 2002 20:57:54 +0000 (20:57 +0000)
committerNick Hibma <n_hibma@FreeBSD.org>
Mon, 17 Jun 2002 20:57:54 +0000 (20:57 +0000)
commitd8880ad0bd1b1b7912515d352ff33c3528ce6db9
tree5149633b62d8a3d12b3d24fb0a97b9a7120683cf
parent3a6a5935a8ee0041ea38fbf35c3c8861b668defc
Avoid reprobing on loading a driver. This does not work as the ivars set
during the previous probe are stale.

What really should be done is route the probe through
device_probe_and_attach bit this is one of those ICBBATIASS (I can't be
bothered as there is a simpler solution). The user can easily replug the
device after kldloading a new device driver.
sys/dev/usb/uhub.c