Disabling upgrade for USB network drivers for RTL8152/RTL8153

Reported instability https://forum.armbian.com/topic/15165-nanopi-r2s-lan0-goes-offline-with-high-traffic/?do=findComment&comment=114522
This commit is contained in:
Igor Pecovnik
2020-12-05 17:45:02 +01:00
parent ebc0012d6e
commit 6bb68d7ff7

View File

@@ -199,18 +199,18 @@ compilation_prepare()
# Updated USB network drivers for RTL8152/RTL8153 based dongles that also support 2.5Gbs variants
if linux-version compare "${version}" ge 5.4 && [ $LINUXFAMILY != mvebu64 ] && [ $LINUXFAMILY != rk322x ] && [ $LINUXFAMILY != odroidxu4 ] && [ $EXTRAWIFI == yes ]; then
# attach to specifics tag or branch
local rtl8152ver="branch:master"
display_alert "Adding" "Drivers for 2.5Gb RTL8152/RTL8153 USB dongles ${rtl8152ver}" "info"
fetch_from_repo "https://github.com/igorpecovnik/realtek-r8152-linux" "rtl8152" "${rtl8152ver}" "yes"
cp -R "${SRC}/cache/sources/rtl8152/${rtl8152ver#*:}"/{r8152.c,compatibility.h} \
"$kerneldir/drivers/net/usb/"
fi
# Looks unstable / disabled
#if linux-version compare "${version}" ge 5.4 && [ $LINUXFAMILY != mvebu64 ] && [ $LINUXFAMILY != rk322x ] && [ $LINUXFAMILY != odroidxu4 ] && [ $EXTRAWIFI == yes ]; then
#
# # attach to specifics tag or branch
# local rtl8152ver="branch:master"
#
# display_alert "Adding" "Drivers for 2.5Gb RTL8152/RTL8153 USB dongles ${rtl8152ver}" "info"
# fetch_from_repo "https://github.com/igorpecovnik/realtek-r8152-linux" "rtl8152" "${rtl8152ver}" "yes"
# cp -R "${SRC}/cache/sources/rtl8152/${rtl8152ver#*:}"/{r8152.c,compatibility.h} \
# "$kerneldir/drivers/net/usb/"
#
#fi
# Wireless drivers for Realtek 8189ES chipsets