Fixed included (versioned) headers.
This commit is contained in:
parent
95fa1fd38c
commit
e914edcb34
|
|
@ -11,7 +11,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/firmware.h>
|
||||
|
||||
#include "r8169_firmware-6.1-ethercat.h"
|
||||
#include "r8169_firmware-6.4-ethercat.h"
|
||||
|
||||
enum rtl_fw_opcode {
|
||||
PHY_READ = 0x0,
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@
|
|||
#include <net/ip6_checksum.h>
|
||||
#include <net/netdev_queues.h>
|
||||
|
||||
#include "r8169-6.1-ethercat.h"
|
||||
#include "r8169_firmware-6.1-ethercat.h"
|
||||
#include "r8169-6.4-ethercat.h"
|
||||
#include "r8169_firmware-6.4-ethercat.h"
|
||||
|
||||
|
||||
#include "../ecdev.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/phy.h>
|
||||
|
||||
#include "r8169-6.1-ethercat.h"
|
||||
#include "r8169-6.4-ethercat.h"
|
||||
|
||||
typedef void (*rtl_phy_cfg_fct)(struct rtl8169_private *tp,
|
||||
struct phy_device *phydev);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,9 @@ for f in $KERNELDIR/drivers/net/ethernet/realtek/r8169*; do
|
|||
op=${b/\./-$PREVER-orig.}
|
||||
ep=${b/\./-$PREVER-ethercat.}
|
||||
diff -u $op $ep | patch -p1 $e
|
||||
sed -i s/$PREVER-ethercat.h/$KERNELVER-ethercat.h/ $e
|
||||
git add $o $e
|
||||
echo -e "\t$e \\\\\n\t$o \\\\" >> Makefile.am
|
||||
done
|
||||
|
||||
echo "Remember to update Makefile.am!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue