Added r8169 driver for kernel 3.6.
This commit is contained in:
parent
95bb74e7de
commit
8e5d96ba5e
|
|
@ -134,7 +134,9 @@ noinst_HEADERS = \
|
||||||
r8169-3.2-ethercat.c \
|
r8169-3.2-ethercat.c \
|
||||||
r8169-3.2-orig.c \
|
r8169-3.2-orig.c \
|
||||||
r8169-3.4-ethercat.c \
|
r8169-3.4-ethercat.c \
|
||||||
r8169-3.4-orig.c
|
r8169-3.4-orig.c \
|
||||||
|
r8169-3.6-ethercat.c \
|
||||||
|
r8169-3.6-orig.c
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
Kbuild.in
|
Kbuild.in
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
KERNELDIR=/data/kernel/linux-3.6.11
|
||||||
|
PREVER=3.4
|
||||||
|
KERNELVER=3.6
|
||||||
|
|
||||||
|
for f in $KERNELDIR/drivers/net/ethernet/realtek/{8139too,r8169}.c; do
|
||||||
|
echo $f
|
||||||
|
b=$(basename $f)
|
||||||
|
o=${b/\./-$KERNELVER-orig.}
|
||||||
|
e=${b/\./-$KERNELVER-ethercat.}
|
||||||
|
cp -v $f $o
|
||||||
|
chmod 644 $o
|
||||||
|
cp -v $o $e
|
||||||
|
op=${b/\./-$PREVER-orig.}
|
||||||
|
ep=${b/\./-$PREVER-ethercat.}
|
||||||
|
diff -u $op $ep | patch -p1 $e
|
||||||
|
done
|
||||||
Loading…
Reference in New Issue