opnsense-src/sys/dev/usb
Bjoern A. Zeeb fbb5cb66f7 dwc3: add ACPI attachment
Split the current FDT-only implementation up into an FDT and an
ACPI part reusing and sharing as much code as possible (thanks mw!).

This makes the Synopsis XHCI root hubs attach correctly on SolidRun's
HoenyComb instead of just the generic XHCI root and this means we
are also doing proper chip setup and applying the quirk needed there [1].

There is one problem with ACPI attachment in that it uses the generic
XHCI PNP ID.  So we need to do extra checks in order to not claim
all xhci, which means we check for a known quirk to be present
in acpi_probe.  Long term this isn't scaling and this was discussed
in SolidRun's Discord Channel in 2021 with the intend that "jnettlet"
will take this to a steering committee.  Since then ACPI has kind-of
become a technology non grata (due to not getting changes into Linux
timely) so it is unclear if this will ever happen.  If there will be
further hardware with dwc3/ACPI we should go and make sure this problem
gets solved.

[1] 24698f90b7/Silicon/NXP/LX2160A/AcpiTables/Dsdt/Usb.asl

Reviewed by:		manu, mw
MFC after:		10 days
Differential Revision:	https://reviews.freebsd.org/D32256
2022-07-06 11:26:34 +00:00
..
controller dwc3: add ACPI attachment 2022-07-06 11:26:34 +00:00
gadget usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
input uhid(4): Don't read-ahead from the USB IN endpoint. 2022-06-23 21:11:24 +02:00
misc usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
net usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
quirk Add USB ID and quirks for Huawei E3372 2022-04-28 08:42:30 +02:00
serial uchcom(4): Add new USB ID. 2022-06-12 16:42:03 +02:00
storage usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
template
video usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
wlan upgt(4): Adjust all pause calls to use milliseconds instead of ticks. 2022-06-09 15:18:02 +02:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb.h
usb_bus.h
usb_busdma.c Fix busdma resource leak on usb device detach. 2021-09-28 13:29:10 -06:00
usb_busdma.h Fix busdma resource leak on usb device detach. 2021-09-28 13:29:10 -06:00
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c
usb_debug.h usb: Add a __usbdebug_used for variables only used under #ifdef USB_DEBUG. 2022-04-13 16:08:20 -07:00
usb_dev.c usb: real freebsd32 support for most ioctls 2021-12-17 21:28:13 +00:00
usb_dev.h usb: add 32-bit compat for FIFOs 2021-12-17 21:28:14 +00:00
usb_device.c usb: Respect NO_INQUIRY quirk during device enumeration 2022-04-28 08:42:26 +02:00
usb_device.h
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usb_generic.h
usb_handle_request.c
usb_hid.c
usb_hub.c XHCI: clear warm and port reset 2022-06-15 21:10:01 +00:00
usb_hub.h
usb_hub_acpi.c usb: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
usb_hub_private.h Add USB UEFI locator support 2022-03-01 08:06:42 -07:00
usb_if.m
usb_ioctl.h usb: remove COMPAT_32BIT ifdefs 2021-12-17 21:28:39 +00:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c usb: Add a __usbdebug_used for variables only used under #ifdef USB_DEBUG. 2022-04-13 16:08:20 -07:00
usb_msctest.h usb(4): Automagically apply all quirks for USB mass storage devices. 2022-02-24 10:28:55 +01:00
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c
usb_process.h
usb_request.c
usb_request.h
usb_transfer.c usb(3): Fix a few typos in source code comments 2022-04-02 10:14:32 +02:00
usb_transfer.h
usb_util.c usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usb_util.h usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usbdevs Add USB ID and quirks for Huawei E3372 2022-04-28 08:42:30 +02:00
usbdi.h
usbdi_util.h
usbhid.h