Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   mrg
Date:           Sun Sep 16 20:21:56 UTC 2018

Modified Files:
        src/sys/dev/usb: ehci.c ohci.c uhci.c usb.c usbdi.c xhci.c
        src/sys/external/bsd/dwc2: dwc2.c

Log Message:
consolidate the handling of polling across HC drivers, and generic USB:
- don't take mutexes if polling
- normalise the code across all drivers
- add some not yet code to block discovery to/from polling
- minor CSE
- adjust comment for usbd_set_polling() to reality now i properly
  understand what it is used for and why.

this, with a hack to make RB_ASKNAME to wait 5 seconds allows boot -a
work with USB keyboards.  there are still multiple issues remaining:
- discovery and polling need to be mutually exclusive
- attachment of ukbd and wskbd is not handled by config_pending, and
  the 5 second delay isn't going to always be enough.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.286 -r1.287 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.283 -r1.284 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.171 -r1.172 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.177 -r1.178 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/usb/xhci.c
cvs rdiff -u -r1.54 -r1.55 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index