Module Name: src Committed By: riastradh Date: Thu Mar 3 05:55:29 UTC 2022
Modified Files: src/sys/dev/usb: if_axe.c if_axen.c if_cdce.c if_cue.c if_kue.c if_mos.c if_smsc.c if_url.c usbnet.c usbnet.h Log Message: usbnet drivers: From *_uno_init, call *_uno_stop, not usbnet_stop. Make usbnet_stop private now that no drivers use it. None of the driver-independent logic in usbnet_stop has any effect at this point because we are guaranteed not to be running, so only the driver-dependent logic in *_uno_stop (at most) is needed. For drivers with no *_uno_stop, just omit the call to usbnet_stop altogether. Some of this logic is obviously redundant with the subsequent call to *_reset -- to be addressed in a subsequent commit. To generate a diff of this commit: cvs rdiff -u -r1.146 -r1.147 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.90 -r1.91 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.75 -r1.76 src/sys/dev/usb/if_cdce.c cvs rdiff -u -r1.103 -r1.104 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.115 -r1.116 src/sys/dev/usb/if_kue.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/if_mos.c cvs rdiff -u -r1.88 -r1.89 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.92 -r1.93 src/sys/dev/usb/if_url.c cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/usbnet.c cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/usbnet.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.