Module Name: src Committed By: mrg Date: Mon Aug 19 07:33:37 UTC 2019
Modified Files: src/sys/dev/usb: if_axe.c if_axen.c if_mue.c if_smsc.c if_ure.c usbnet.c Log Message: move the check against un_phyno from usbnet back into the drivers that do this (axe, axen, mue, smsc, ure.) it made mii scanning only work for phy 0, and aue needs it for at least one device. fix smsc to return usbd_status not -1 on failure. XXX smsc was writing to '*val' even in error cases, it does not now. remove a double call to IFQ_SET_READY() (noticed by chuq). avoid unlock+instant relock by using usbnet_lock_mii_un_locked(). To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.64 -r1.65 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/if_mue.c cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_ure.c cvs rdiff -u -r1.19 -r1.20 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.