Added 8139too driver for kernel 5.10.

This commit is contained in:
Florian Pose
2023-06-29 11:03:35 +02:00
parent b76ce3cd0d
commit fba21cb759
4 changed files with 5521 additions and 7 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -1,8 +1,6 @@
#------------------------------------------------------------------------------
#
# $Id$
#
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
# Copyright (C) 2006-2023 Florian Pose, Ingenieurgemeinschaft IgH
#
# This file is part of the IgH EtherCAT Master.
#
@@ -26,6 +24,7 @@
# industrial property and similar rights of Beckhoff Automation GmbH.
#
#------------------------------------------------------------------------------
include $(top_srcdir)/Makefile.kbuild
SUBDIRS = \
@@ -94,6 +93,8 @@ noinst_HEADERS = \
8139too-3.8-orig.c \
8139too-4.4-ethercat.c \
8139too-4.4-orig.c \
8139too-5.10-ethercat.c \
8139too-5.10-orig.c \
e100-2.6.20-ethercat.c \
e100-2.6.20-orig.c \
e100-2.6.24-ethercat.c \
+4 -4
View File
@@ -2,12 +2,12 @@
set -x
KERNELDIR=/data/kernel/linux-4.4.162
PREVER=3.16
KERNELVER=4.4
KERNELDIR=/vol/data/kernel/linux-5.10.186
KERNELVER=5.10
PREVER=4.4
for f in $KERNELDIR/drivers/net/ethernet/{realtek/8139too,realtek/r8169,intel/e100}.c; do
echo $f
echo Driver $f
b=$(basename $f)
o=${b/\./-$KERNELVER-orig.}
e=${b/\./-$KERNELVER-ethercat.}