Module Name: src Committed By: mrg Date: Sat Aug 10 02:17:36 UTC 2019
Modified Files: src/sys/dev/usb: if_axe.c if_axen.c if_cdce.c if_smsc.c if_udav.c if_ure.c if_urndis.c usbnet.c usbnet.h src/sys/sys: param.h Log Message: reduce the scope of struct usbnet: - move a large number of members internal to usbnet.c's new "struct usbnet_private". - provide accessors for a few of these - move struct usbnet_cdata into usbnet.c as well, but move bufsz, list count, and xfer flags back out into struct usbnet, and have them set as part of the setup efore usbnet_attach() - split the intr pipe parts into their own structure - move all the main usbnet*lock* code into usbnet.c too usbnet_attach() goes down to 2 args, and the inputs needed are now the full contents of 'struct usbnet' besides the driver owned 'un_flags' and usbnet owned 'un_pri'. welcome netbsd 9.99.6. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.60 -r1.61 src/sys/dev/usb/if_cdce.c cvs rdiff -u -r1.50 -r1.51 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.64 -r1.65 src/sys/dev/usb/if_udav.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/if_ure.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/if_urndis.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/usbnet.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/usbnet.h cvs rdiff -u -r1.604 -r1.605 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.