]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
linux: Compile "Intel XHCI USB Role Switch" as a module on x86_64
authorPeter Müller <peter.mueller@ipfire.org>
Tue, 18 Apr 2023 20:52:00 +0000 (20:52 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 11 May 2023 20:04:33 +0000 (20:04 +0000)
From the kernel documentation:

> Driver for the internal USB role switch for switching the USB data
> lines between the xHCI host controller and the dwc3 gadget controller
> found on various Intel SoCs. [...]

This may unblock USB-LAN-adaptor usage on certain boards, as reported
once in #12750. Overall affected devices seem to be scanty;
nevertheless, enabling this as a module only is highly unlikely to cause
any harm, so let's give it a try.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/kernel/kernel.config.x86_64-ipfire

index db0271d942e8ae1a802a41d1d7afa9f4f2624ee7..c8985b482060dbe37584e0d333c4ba7f8952371f 100644 (file)
@@ -6060,7 +6060,7 @@ CONFIG_UCSI_ACPI=m
 # end of USB Type-C Alternate Mode drivers
 
 CONFIG_USB_ROLE_SWITCH=m
-# CONFIG_USB_ROLES_INTEL_XHCI is not set
+CONFIG_USB_ROLES_INTEL_XHCI=m
 CONFIG_MMC=m
 CONFIG_MMC_BLOCK=m
 CONFIG_MMC_BLOCK_MINORS=8