mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user