|
@@ -1,6 +1,37 @@
|
|
|
-diff -Nur linux-4.4.88.orig/arch/h8300/Kconfig.cpu linux-4.4.88/arch/h8300/Kconfig.cpu
|
|
|
|
|
---- linux-4.4.88.orig/arch/h8300/Kconfig.cpu 2017-09-13 23:10:05.000000000 +0200
|
|
|
|
|
-+++ linux-4.4.88/arch/h8300/Kconfig.cpu 2017-09-17 21:15:32.584654434 +0200
|
|
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/arch/h8300/boot/dts/edosk2674.dts linux-4.4.302/arch/h8300/boot/dts/edosk2674.dts
|
|
|
|
|
+--- linux-4.4.302.orig/arch/h8300/boot/dts/edosk2674.dts 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/arch/h8300/boot/dts/edosk2674.dts 2026-08-27 14:19:08.312619408 +0200
|
|
|
|
|
+@@ -104,4 +104,15 @@
|
|
|
|
|
+ clocks = <&fclk>;
|
|
|
|
|
+ clock-names = "sci_ick";
|
|
|
|
|
+ };
|
|
|
|
|
++ flash: flash@0 {
|
|
|
|
|
++ compatible = "cfi-flash";
|
|
|
|
|
++ reg = <0x000000 0x400000>;
|
|
|
|
|
++ bank-width = <2>;
|
|
|
|
|
++ device-width = <2>;
|
|
|
|
|
++ };
|
|
|
|
|
++ ethernet: ethernet@f80000 {
|
|
|
|
|
++ compatible = "smsc,lan91c94";
|
|
|
|
|
++ reg = <0xf80000 0xfbffff>;
|
|
|
|
|
++ interrupts = <16 0>;
|
|
|
|
|
++ };
|
|
|
|
|
+ };
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.4.302/arch/h8300/boot/dts/h8300h_sim.dts
|
|
|
|
|
+--- linux-4.4.302.orig/arch/h8300/boot/dts/h8300h_sim.dts 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/arch/h8300/boot/dts/h8300h_sim.dts 2026-08-27 14:17:11.028444049 +0200
|
|
|
|
|
+@@ -37,7 +37,7 @@
|
|
|
|
|
+
|
|
|
|
|
+ memory@400000 {
|
|
|
|
|
+ device_type = "memory";
|
|
|
|
|
+- reg = <0x400000 0x400000>;
|
|
|
|
|
++ reg = <0x400000 0x800000>;
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ cpus {
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/arch/h8300/Kconfig.cpu linux-4.4.302/arch/h8300/Kconfig.cpu
|
|
|
|
|
+--- linux-4.4.302.orig/arch/h8300/Kconfig.cpu 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/arch/h8300/Kconfig.cpu 2026-08-27 14:17:11.028444049 +0200
|
|
|
@@ -96,4 +96,8 @@
|
|
@@ -96,4 +96,8 @@
|
|
|
hex "Load offset"
|
|
hex "Load offset"
|
|
|
default 0
|
|
default 0
|
|
@@ -10,22 +41,69 @@ diff -Nur linux-4.4.88.orig/arch/h8300/Kconfig.cpu linux-4.4.88/arch/h8300/Kconf
|
|
|
+ default 0x400000
|
|
+ default 0x400000
|
|
|
+
|
|
+
|
|
|
endmenu
|
|
endmenu
|
|
|
-diff -Nur linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts
|
|
|
|
|
---- linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-02 09:40:50.000000000 +0100
|
|
|
|
|
-+++ linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-18 21:59:54.665879649 +0100
|
|
|
|
|
-@@ -37,7 +37,7 @@
|
|
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/drivers/net/ethernet/smsc/Kconfig linux-4.4.302/drivers/net/ethernet/smsc/Kconfig
|
|
|
|
|
+--- linux-4.4.302.orig/drivers/net/ethernet/smsc/Kconfig 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/drivers/net/ethernet/smsc/Kconfig 2026-08-27 14:17:21.080457216 +0200
|
|
|
|
|
+@@ -7,7 +7,7 @@
|
|
|
|
|
+ default y
|
|
|
|
|
+ depends on ARM || ARM64 || ATARI_ETHERNAT || BLACKFIN || COLDFIRE || \
|
|
|
|
|
+ ISA || M32R || MAC || MIPS || MN10300 || NIOS2 || PCI || \
|
|
|
|
|
+- PCMCIA || SUPERH || XTENSA
|
|
|
|
|
++ PCMCIA || SUPERH || XTENSA || H8300
|
|
|
|
|
+ ---help---
|
|
|
|
|
+ If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
|
|
|
|
- memory@400000 {
|
|
|
|
|
- device_type = "memory";
|
|
|
|
|
-- reg = <0x400000 0x400000>;
|
|
|
|
|
-+ reg = <0x400000 0x800000>;
|
|
|
|
|
- };
|
|
|
|
|
|
|
+@@ -36,9 +36,8 @@
|
|
|
|
|
+ tristate "SMC 91C9x/91C1xxx support"
|
|
|
|
|
+ select CRC32
|
|
|
|
|
+ select MII
|
|
|
|
|
+- depends on !OF || GPIOLIB
|
|
|
|
|
+ depends on ARM || ARM64 || ATARI_ETHERNAT || BLACKFIN || COLDFIRE || \
|
|
|
|
|
+- M32R || MIPS || MN10300 || NIOS2 || SUPERH || XTENSA
|
|
|
|
|
++ M32R || MIPS || MN10300 || NIOS2 || SUPERH || XTENSA || H8300
|
|
|
|
|
+ ---help---
|
|
|
|
|
+ This is a driver for SMC's 91x series of Ethernet chipsets,
|
|
|
|
|
+ including the SMC91C94 and the SMC91C111. Say Y if you want it
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/drivers/net/ethernet/smsc/smc91x.c linux-4.4.302/drivers/net/ethernet/smsc/smc91x.c
|
|
|
|
|
+--- linux-4.4.302.orig/drivers/net/ethernet/smsc/smc91x.c 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/drivers/net/ethernet/smsc/smc91x.c 2026-08-27 14:17:21.080457216 +0200
|
|
|
|
|
+@@ -61,7 +61,7 @@
|
|
|
|
|
|
|
|
- cpus {
|
|
|
|
|
-diff -Nur linux-4.4.96.orig/drivers/tty/serial/sh-sci.c linux-4.4.96/drivers/tty/serial/sh-sci.c
|
|
|
|
|
---- linux-4.4.96.orig/drivers/tty/serial/sh-sci.c 2017-11-02 09:40:50.000000000 +0100
|
|
|
|
|
-+++ linux-4.4.96/drivers/tty/serial/sh-sci.c 2017-11-18 22:15:05.951976319 +0100
|
|
|
|
|
-@@ -898,8 +898,6 @@
|
|
|
|
|
|
|
+ /* Debugging level */
|
|
|
|
|
+ #ifndef SMC_DEBUG
|
|
|
|
|
+-#define SMC_DEBUG 0
|
|
|
|
|
++#define SMC_DEBUG 1
|
|
|
|
|
+ #endif
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@@ -2204,6 +2204,7 @@
|
|
|
|
|
+ };
|
|
|
|
|
+ MODULE_DEVICE_TABLE(of, smc91x_match);
|
|
|
|
|
+
|
|
|
|
|
++#if defined(CONFIG_GPIOLIB)
|
|
|
|
|
+ /**
|
|
|
|
|
+ * of_try_set_control_gpio - configure a gpio if it exists
|
|
|
|
|
+ */
|
|
|
|
|
+@@ -2228,6 +2229,15 @@
|
|
|
|
|
+
|
|
|
|
|
+ return 0;
|
|
|
|
|
+ }
|
|
|
|
|
++#else
|
|
|
|
|
++static int try_toggle_control_gpio(struct device *dev,
|
|
|
|
|
++ struct gpio_desc **desc,
|
|
|
|
|
++ const char *name, int index,
|
|
|
|
|
++ int value, unsigned int nsdelay)
|
|
|
|
|
++{
|
|
|
|
|
++ return 0;
|
|
|
|
|
++}
|
|
|
|
|
++#endif
|
|
|
|
|
+ #endif
|
|
|
|
|
+
|
|
|
|
|
+ /*
|
|
|
|
|
+diff -Nur linux-4.4.302.orig/drivers/tty/serial/sh-sci.c linux-4.4.302/drivers/tty/serial/sh-sci.c
|
|
|
|
|
+--- linux-4.4.302.orig/drivers/tty/serial/sh-sci.c 2022-02-03 09:27:54.000000000 +0100
|
|
|
|
|
++++ linux-4.4.302/drivers/tty/serial/sh-sci.c 2026-08-27 14:17:11.028444049 +0200
|
|
|
|
|
+@@ -889,8 +889,6 @@
|
|
|
/* overrun error */
|
|
/* overrun error */
|
|
|
if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
|
|
if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
|
|
|
copied++;
|
|
copied++;
|
|
@@ -34,7 +112,7 @@ diff -Nur linux-4.4.96.orig/drivers/tty/serial/sh-sci.c linux-4.4.96/drivers/tty
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (status & SCxSR_FER(port)) {
|
|
if (status & SCxSR_FER(port)) {
|
|
|
-@@ -972,7 +970,6 @@
|
|
|
|
|
|
|
+@@ -963,7 +961,6 @@
|
|
|
tty_insert_flip_char(tport, 0, TTY_OVERRUN);
|
|
tty_insert_flip_char(tport, 0, TTY_OVERRUN);
|
|
|
tty_flip_buffer_push(tport);
|
|
tty_flip_buffer_push(tport);
|
|
|
|
|
|