Module Name:    src
Committed By:   riastradh
Date:           Thu Mar  3 05:51:44 UTC 2022

Modified Files:
        src/sys/dev/usb: if_axe.c if_axen.c if_smsc.c if_udav.c if_url.c

Log Message:
usbnet drivers: No need for usbnet_busy during attach.

usbnet_detach cannot run until the attach routine has finished
(unless a driver goes out of its way to tie its shoelaces together
and explicitly call it during the attach routine, which none of them
do), so there is no need to hang onto a reference count that we
release before attach returns.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/usb/if_udav.c src/sys/dev/usb/if_url.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to