X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4202d050af8cf088e7dfb643d491d3b4b169e473..3330f0fa390bb1da4c9049efd8f9f388c49ee6e6:/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch diff --git a/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch b/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch index 93cd6b080..f0a8772ce 100644 --- a/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch +++ b/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.23.16/drivers/ssb/Kconfig -=================================================================== ---- linux-2.6.23.16.orig/drivers/ssb/Kconfig 2008-02-19 12:38:31.000000000 +0100 -+++ linux-2.6.23.16/drivers/ssb/Kconfig 2008-02-19 12:43:58.000000000 +0100 -@@ -105,6 +105,12 @@ config SSB_DRIVER_MIPS +--- a/drivers/ssb/Kconfig ++++ b/drivers/ssb/Kconfig +@@ -105,6 +105,12 @@ If unsure, say N @@ -15,10 +13,8 @@ Index: linux-2.6.23.16/drivers/ssb/Kconfig config SSB_DRIVER_EXTIF bool "SSB Broadcom EXTIF core driver (EXPERIMENTAL)" depends on SSB_DRIVER_MIPS && EXPERIMENTAL -Index: linux-2.6.23.16/drivers/ssb/Makefile -=================================================================== ---- linux-2.6.23.16.orig/drivers/ssb/Makefile 2008-02-19 12:38:31.000000000 +0100 -+++ linux-2.6.23.16/drivers/ssb/Makefile 2008-02-19 12:43:58.000000000 +0100 +--- a/drivers/ssb/Makefile ++++ b/drivers/ssb/Makefile @@ -1,5 +1,6 @@ # core ssb-y += main.o scan.o @@ -26,12 +22,10 @@ Index: linux-2.6.23.16/drivers/ssb/Makefile # host support ssb-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o -Index: linux-2.6.23.16/drivers/ssb/driver_extif.c -=================================================================== ---- linux-2.6.23.16.orig/drivers/ssb/driver_extif.c 2008-02-19 12:38:34.000000000 +0100 -+++ linux-2.6.23.16/drivers/ssb/driver_extif.c 2008-02-19 12:45:13.000000000 +0100 -@@ -35,6 +35,12 @@ static inline void extif_write32_masked( - extif_write32(extif, offset, value); +--- a/drivers/ssb/driver_extif.c ++++ b/drivers/ssb/driver_extif.c +@@ -37,6 +37,12 @@ + return value; } +void ssb_extif_watchdog_timer_set(struct ssb_extif *extif, @@ -43,10 +37,8 @@ Index: linux-2.6.23.16/drivers/ssb/driver_extif.c #ifdef CONFIG_SSB_SERIAL static bool serial_exists(u8 *regs) { -Index: linux-2.6.23.16/drivers/ssb/embedded.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.16/drivers/ssb/embedded.c 2008-02-19 12:43:58.000000000 +0100 +--- /dev/null ++++ b/drivers/ssb/embedded.c @@ -0,0 +1,26 @@ +/* + * Sonics Silicon Backplane @@ -74,11 +66,9 @@ Index: linux-2.6.23.16/drivers/ssb/embedded.c + } + return -ENODEV; +} -Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_chipcommon.h -=================================================================== ---- linux-2.6.23.16.orig/include/linux/ssb/ssb_driver_chipcommon.h 2008-02-19 12:38:34.000000000 +0100 -+++ linux-2.6.23.16/include/linux/ssb/ssb_driver_chipcommon.h 2008-02-19 12:43:58.000000000 +0100 -@@ -360,6 +360,11 @@ struct ssb_chipcommon { +--- a/include/linux/ssb/ssb_driver_chipcommon.h ++++ b/include/linux/ssb/ssb_driver_chipcommon.h +@@ -360,6 +360,11 @@ u16 fast_pwrup_delay; }; @@ -90,13 +80,11 @@ Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_chipcommon.h extern void ssb_chipcommon_init(struct ssb_chipcommon *cc); #include -Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_extif.h -=================================================================== ---- linux-2.6.23.16.orig/include/linux/ssb/ssb_driver_extif.h 2008-02-19 12:38:34.000000000 +0100 -+++ linux-2.6.23.16/include/linux/ssb/ssb_driver_extif.h 2008-02-19 12:47:03.000000000 +0100 -@@ -170,6 +170,9 @@ extern void ssb_extif_get_clockcontrol(s - extern void ssb_extif_timing_init(struct ssb_extif *extif, - unsigned long ns); +--- a/include/linux/ssb/ssb_driver_extif.h ++++ b/include/linux/ssb/ssb_driver_extif.h +@@ -178,6 +178,9 @@ + u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, u32 value); + u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, u32 value); +extern void ssb_extif_watchdog_timer_set(struct ssb_extif *extif, + u32 ticks); @@ -104,7 +92,7 @@ Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_extif.h #ifdef CONFIG_SSB_SERIAL extern int ssb_extif_serial_init(struct ssb_extif *extif, struct ssb_serial_port *ports); -@@ -224,5 +227,11 @@ void ssb_extif_get_clockcontrol(struct s +@@ -201,5 +204,11 @@ { } @@ -116,10 +104,8 @@ Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_extif.h + #endif /* CONFIG_SSB_DRIVER_EXTIF */ #endif /* LINUX_SSB_EXTIFCORE_H_ */ -Index: linux-2.6.23.16/include/linux/ssb/ssb_embedded.h -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23.16/include/linux/ssb/ssb_embedded.h 2008-02-19 12:43:58.000000000 +0100 +--- /dev/null ++++ b/include/linux/ssb/ssb_embedded.h @@ -0,0 +1,10 @@ +#ifndef LINUX_SSB_EMBEDDED_H_ +#define LINUX_SSB_EMBEDDED_H_