From 583a5036e50cee24b018df1002b21477f25f8878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Thu, 13 May 2021 17:03:30 -0700 Subject: [PATCH] ANDROID: gki - enable CONFIG_USB_RTL8150=y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is to support ethernet usb dongle: Realtek RTL8150 USB 10/100 Fast Ethernet Adapter This is supported by pre-GKI Pixel devices, and the lack of support in GKI kernels appears to simply be an oversight. Test: built and booted on a gki using phone Bug: 183564444 Signed-off-by: Maciej Żenczykowski Change-Id: Ief6cb29facc0b9b98d9c83897d2e88e0aa83be58 (cherry picked from commit 57743c387ecdb5f07bfe927af5c6e35734dd2ac0) --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index ed1eaee670dd..335740f760c1 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -299,6 +299,7 @@ CONFIG_PPP_DEFLATE=y CONFIG_PPP_MPPE=y CONFIG_PPTP=y CONFIG_PPPOL2TP=y +CONFIG_USB_RTL8150=y CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y # CONFIG_USB_NET_AX8817X is not set diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index b8bb2e92f9e5..dfeead50633d 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -276,6 +276,7 @@ CONFIG_PPP_DEFLATE=y CONFIG_PPP_MPPE=y CONFIG_PPTP=y CONFIG_PPPOL2TP=y +CONFIG_USB_RTL8150=y CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y # CONFIG_USB_NET_AX8817X is not set