Import version 2.20.1
This commit is contained in:
committed by
Hyacinthe Cartiaux
parent
44b51ee072
commit
8ee2d3108f
@@ -9,7 +9,7 @@ ENV{REALTEK_MODE1}="1"
|
|||||||
ENV{REALTEK_MODE2}="3"
|
ENV{REALTEK_MODE2}="3"
|
||||||
|
|
||||||
# Realtek
|
# 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}"
|
ATTR{idVendor}=="0bda", ATTR{idProduct}=="8053", ATTR{bcdDevice}=="e???", ATTR{bConfigurationValue}!="$env{REALTEK_MODE2}", ATTR{bConfigurationValue}="$env{REALTEK_MODE2}"
|
||||||
|
|
||||||
# Samsung
|
# Samsung
|
||||||
|
|||||||
@@ -6,18 +6,18 @@ CONFIG_CTAP_SHORT = ON
|
|||||||
|
|
||||||
ifneq ($(KERNELRELEASE),)
|
ifneq ($(KERNELRELEASE),)
|
||||||
obj-m := r8152.o
|
obj-m := r8152.o
|
||||||
# EXTRA_CFLAGS += -DRTL8152_S5_WOL
|
# ccflags-y += -DRTL8152_S5_WOL
|
||||||
# EXTRA_CFLAGS += -DRTL8152_DEBUG
|
# ccflags-y += -DRTL8152_DEBUG
|
||||||
|
|
||||||
ifneq (,$(filter OFF off, $(CONFIG_CTAP_SHORT)))
|
ifneq (,$(filter OFF off, $(CONFIG_CTAP_SHORT)))
|
||||||
EXTRA_CFLAGS += -DCONFIG_CTAP_SHORT_OFF
|
ccflags-y += -DCONFIG_CTAP_SHORT_OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (TRUE, $(shell test $(VERSION) -lt 5 && echo "TRUE" || \
|
ifeq (TRUE, $(shell test $(VERSION) -lt 5 && echo "TRUE" || \
|
||||||
test $(VERSION) -eq 5 && test $(PATCHLEVEL) -lt 12 && echo "TRUE"))
|
test $(VERSION) -eq 5 && test $(PATCHLEVEL) -lt 12 && echo "TRUE"))
|
||||||
EXTRA_CFLAGS += -DLINUX_VERSION_MAJOR=$(VERSION)
|
ccflags-y += -DLINUX_VERSION_MAJOR=$(VERSION)
|
||||||
EXTRA_CFLAGS += -DLINUX_VERSION_PATCHLEVEL=$(PATCHLEVEL)
|
ccflags-y += -DLINUX_VERSION_PATCHLEVEL=$(PATCHLEVEL)
|
||||||
EXTRA_CFLAGS += -DLINUX_VERSION_SUBLEVEL=$(SUBLEVEL)
|
ccflags-y += -DLINUX_VERSION_SUBLEVEL=$(SUBLEVEL)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
||||||
|
|||||||
@@ -27,6 +27,9 @@
|
|||||||
5G for kernel v4.10 and later (Couldn't be supported before kernel v4.10)
|
5G for kernel v4.10 and later (Couldn't be supported before kernel v4.10)
|
||||||
# ethtool -s eth0 autoneg on advertise 0x180000000002f
|
# 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 0x002f (1G)
|
||||||
# ethtool -s eth0 autoneg on advertise 0x000f (100M full)
|
# ethtool -s eth0 autoneg on advertise 0x000f (100M full)
|
||||||
# ethtool -s eth0 autoneg on advertise 0x0003 (10M full)
|
# ethtool -s eth0 autoneg on advertise 0x0003 (10M full)
|
||||||
|
|||||||
Reference in New Issue
Block a user