author | Florian Pose <fp@igh-essen.com> |
Mon, 27 Oct 2014 13:41:01 +0100 | |
branch | stable-1.5 |
changeset 2548 | 3339dcc91b88 |
parent 2546 | 2fa43746d972 |
child 2584 | 0e3d989ff233 |
permissions | -rwxr-xr-x |
#!/bin/bash set -x KERNELDIR=/data/kernel/linux-3.6.11 PREVER=3.4 KERNELVER=3.6 for f in $KERNELDIR/drivers/net/ethernet/intel/e1000e/*.[ch]; 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