Module Name: src Committed By: riastradh Date: Thu Mar 3 05:49:58 UTC 2022
Modified Files: src/sys/dev/usb: usbnet.c Log Message: usbnet: Don't waste time calling uno_stop if device is detaching. The hardware is most likely gone, so trying to write to its registers (and, in some cases, wait until a timeout for a device to reset) is a waste of time. Even if it was detached only in software with drvctl, reattaching it will reset the device anyway. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/dev/usb/usbnet.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.