1 diff -Nur linux-4.4.302.orig/arch/h8300/boot/dts/edosk2674.dts linux-4.4.302/arch/h8300/boot/dts/edosk2674.dts
2 --- linux-4.4.302.orig/arch/h8300/boot/dts/edosk2674.dts 2022-02-03 09:27:54.000000000 +0100
3 +++ linux-4.4.302/arch/h8300/boot/dts/edosk2674.dts 2022-02-14 05:05:26.253691787 +0100
5 interrupt-parent = <&h8intc>;
8 - bootargs = "console=ttySC2,38400";
9 + bootargs = "console=ttySC2,38400 root=/dev/nfs ip=dhcp";
15 clock-names = "sci_ick";
17 + ethernet: ethernet@f80000 {
18 + compatible = "smsc,lan91c94";
19 + reg = <0xf80000 0xfbffff>;
20 + interrupts = <16 0>;
23 diff -Nur linux-4.4.302.orig/drivers/net/ethernet/smsc/Kconfig linux-4.4.302/drivers/net/ethernet/smsc/Kconfig
24 --- linux-4.4.302.orig/drivers/net/ethernet/smsc/Kconfig 2022-02-03 09:27:54.000000000 +0100
25 +++ linux-4.4.302/drivers/net/ethernet/smsc/Kconfig 2022-02-14 04:21:54.546112552 +0100
28 depends on ARM || ARM64 || ATARI_ETHERNAT || BLACKFIN || COLDFIRE || \
29 ISA || M32R || MAC || MIPS || MN10300 || NIOS2 || PCI || \
30 - PCMCIA || SUPERH || XTENSA
31 + PCMCIA || SUPERH || XTENSA || H8300
33 If you have a network (Ethernet) card belonging to this class, say Y.
36 tristate "SMC 91C9x/91C1xxx support"
39 - depends on !OF || GPIOLIB
40 depends on ARM || ARM64 || ATARI_ETHERNAT || BLACKFIN || COLDFIRE || \
41 - M32R || MIPS || MN10300 || NIOS2 || SUPERH || XTENSA
42 + M32R || MIPS || MN10300 || NIOS2 || SUPERH || XTENSA || H8300
44 This is a driver for SMC's 91x series of Ethernet chipsets,
45 including the SMC91C94 and the SMC91C111. Say Y if you want it
46 diff -Nur linux-4.4.302.orig/drivers/net/ethernet/smsc/smc91x.c linux-4.4.302/drivers/net/ethernet/smsc/smc91x.c
47 --- linux-4.4.302.orig/drivers/net/ethernet/smsc/smc91x.c 2022-02-03 09:27:54.000000000 +0100
48 +++ linux-4.4.302/drivers/net/ethernet/smsc/smc91x.c 2022-02-14 05:31:18.727485106 +0100
60 MODULE_DEVICE_TABLE(of, smc91x_match);
62 +#if defined(CONFIG_GPIOLIB)
64 * of_try_set_control_gpio - configure a gpio if it exists
66 @@ -2228,6 +2229,15 @@
71 +static int try_toggle_control_gpio(struct device *dev,
72 + struct gpio_desc **desc,
73 + const char *name, int index,
74 + int value, unsigned int nsdelay)