Module Name: src Committed By: msaitoh Date: Mon Apr 22 08:36:03 UTC 2019
Modified Files: src/sys/dev/marvell: if_gfe.c src/sys/dev/pcmcia: if_xi.c src/sys/dev/usb: if_aue.c Log Message: These drivers do ether_ioctl() on SIOC{ADD,DEL}MULTI, SIOC{G,S}IFMEDIA and default case in the switch statement. Only the default case didn't check the return value with ENETRESET. Integrate them to one ether_ioctl() with ENETRESET test. This change might improve some other ioctl()s which return ENETRESET by calling if_init(). To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/marvell/if_gfe.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/pcmcia/if_xi.c cvs rdiff -u -r1.149 -r1.150 src/sys/dev/usb/if_aue.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.