Add 2.12 release

This commit is contained in:
Hyacinthe Cartiaux
2019-05-16 23:14:46 +02:00
parent 48b6eb1cd8
commit d03f6237b7
3 changed files with 696 additions and 350 deletions
+8 -3
View File
@@ -2,10 +2,15 @@
#
#
CONFIG_CTAP_SHORT = ON
ifneq ($(KERNELRELEASE),)
obj-m := r8152.o
# EXTRA_CFLAGS += -DRTL8152_S5_WOL
# EXTRA_CFLAGS += -DRTL8152_DEBUG
ifneq (,$(filter OFF off, $(CONFIG_CTAP_SHORT)))
EXTRA_CFLAGS += -DCONFIG_CTAP_SHORT_OFF
endif
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD :=$(shell pwd)
@@ -16,14 +21,14 @@ else
.PHONY: modules
modules:
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
.PHONY: all
all: clean modules install
.PHONY: clean
clean:
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) clean
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
.PHONY: install
install:
@@ -33,7 +38,7 @@ endif
ifneq ($(INBOXDRIVER),)
rm -f $(INBOXDRIVER)
endif
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) INSTALL_MOD_DIR=$(TARGET_PATH) modules_install
$(MAKE) -C $(KERNELDIR) M=$(PWD) INSTALL_MOD_DIR=$(TARGET_PATH) modules_install
modprobe r8152
.PHONY: install_rules
+5
View File
@@ -13,6 +13,7 @@
- For Ubuntu, you may have to run the following command after installing the
driver.
# sudo depmod -a
# sudo update-initramfs -u
- Example of setting speed
@@ -21,3 +22,7 @@
# 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)
- Disable center tap short
# make CONFIG_CTAP_SHORT=OFF modules
+683 -347
View File
File diff suppressed because it is too large Load Diff