Sync dwctwo(4) with the NetBSD-current code base.
authormglocker <mglocker@openbsd.org>
Thu, 22 Jul 2021 18:32:33 +0000 (18:32 +0000)
committermglocker <mglocker@openbsd.org>
Thu, 22 Jul 2021 18:32:33 +0000 (18:32 +0000)
commitd05ae140e2b170ade714c4e6ea6121cac88f634f
tree9c71dc0af3829d1d271bf68336cc25b3e44e67de
parentb0fe20a2e5324a85af611fc6797bd1e211805999
Sync dwctwo(4) with the NetBSD-current code base.

On the Raspberry Pi 3 Model B+ this does as a benefit:

* Enable the USB on-board Ethernet controller through mue(4).
* Enable the two USB uhub2 ports for removable devices.

Feedback incorporated from kettenis@ and jsg@.

ok kettenis@
13 files changed:
sys/dev/usb/dwc2/dwc2.c
sys/dev/usb/dwc2/dwc2.h
sys/dev/usb/dwc2/dwc2_core.c
sys/dev/usb/dwc2/dwc2_core.h
sys/dev/usb/dwc2/dwc2_coreintr.c
sys/dev/usb/dwc2/dwc2_hcd.c
sys/dev/usb/dwc2/dwc2_hcd.h
sys/dev/usb/dwc2/dwc2_hcdddma.c
sys/dev/usb/dwc2/dwc2_hcdintr.c
sys/dev/usb/dwc2/dwc2_hcdqueue.c
sys/dev/usb/dwc2/dwc2_hw.h
sys/dev/usb/dwc2/dwc2var.h
sys/dev/usb/dwc2/list.h [new file with mode: 0644]