Module Name: src Committed By: mrg Date: Sun Aug 4 08:59:13 UTC 2019
Modified Files: src/sys/dev/usb: if_axen.c if_cdce.c usbnet.c usbnet.h Log Message: - adjust usbnet interface to allow usbd_open_pipe_intr(), from the new comment: * if un_intr_buf is not NULL, use usbd_open_pipe_intr() not * usbd_open_pipe() for USBNET_ENDPT_INTR, with this buffer, * size, and interval. the standard handling is in usbnet.c, with a callback to deal with the interrupt it self. not fully tested, designed for if_aue.c and a few others not yet converted. - make usbhist for usbnet.c work, thanks paulg - usbnet_init_rx_tx() clears out all allocations upon failure now - add usbnet_ec() to get a pointer to the struct ethercom - add usbnet_{lock,unlock,owned}*() to lock/unlock the various locks and *owned*() for asserting welcome 9.99.3! To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.55 -r1.56 src/sys/dev/usb/if_cdce.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/usbnet.c 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.