Import version 2.20.1

This commit is contained in:
Hyacinthe Cartiaux
2025-05-25 21:39:28 +02:00
committed by Hyacinthe Cartiaux
parent 44b51ee072
commit 8ee2d3108f
4 changed files with 2897 additions and 382 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ ENV{REALTEK_MODE1}="1"
ENV{REALTEK_MODE2}="3"
# Realtek
ATTR{idVendor}=="0bda", ATTR{idProduct}=="815[2,3,5,6,7]", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
ATTR{idVendor}=="0bda", ATTR{idProduct}=="815[2,3,5,6,7,a]", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
ATTR{idVendor}=="0bda", ATTR{idProduct}=="8053", ATTR{bcdDevice}=="e???", ATTR{bConfigurationValue}!="$env{REALTEK_MODE2}", ATTR{bConfigurationValue}="$env{REALTEK_MODE2}"
# Samsung
+6 -6
View File
@@ -6,18 +6,18 @@ CONFIG_CTAP_SHORT = ON
ifneq ($(KERNELRELEASE),)
obj-m := r8152.o
# EXTRA_CFLAGS += -DRTL8152_S5_WOL
# EXTRA_CFLAGS += -DRTL8152_DEBUG
# ccflags-y += -DRTL8152_S5_WOL
# ccflags-y += -DRTL8152_DEBUG
ifneq (,$(filter OFF off, $(CONFIG_CTAP_SHORT)))
EXTRA_CFLAGS += -DCONFIG_CTAP_SHORT_OFF
ccflags-y += -DCONFIG_CTAP_SHORT_OFF
endif
ifeq (TRUE, $(shell test $(VERSION) -lt 5 && echo "TRUE" || \
test $(VERSION) -eq 5 && test $(PATCHLEVEL) -lt 12 && echo "TRUE"))
EXTRA_CFLAGS += -DLINUX_VERSION_MAJOR=$(VERSION)
EXTRA_CFLAGS += -DLINUX_VERSION_PATCHLEVEL=$(PATCHLEVEL)
EXTRA_CFLAGS += -DLINUX_VERSION_SUBLEVEL=$(SUBLEVEL)
ccflags-y += -DLINUX_VERSION_MAJOR=$(VERSION)
ccflags-y += -DLINUX_VERSION_PATCHLEVEL=$(PATCHLEVEL)
ccflags-y += -DLINUX_VERSION_SUBLEVEL=$(SUBLEVEL)
endif
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+3
View File
@@ -27,6 +27,9 @@
5G for kernel v4.10 and later (Couldn't be supported before kernel v4.10)
# ethtool -s eth0 autoneg on advertise 0x180000000002f
10G for kernel v4.10 and later (Couldn't be supported before kernel v4.10)
# ethtool -s eth0 autoneg on advertise 0x180000000102f
# ethtool -s eth0 autoneg on advertise 0x002f (1G)
# ethtool -s eth0 autoneg on advertise 0x000f (100M full)
# ethtool -s eth0 autoneg on advertise 0x0003 (10M full)
+2887 -375
View File
File diff suppressed because it is too large Load Diff