ALL0256N: add entires in machtype.h, Makefile, Kconfig and enable board in 
config-2.3.39

Signed-off-by: Daniel Golle <[email protected]>

Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig
===================================================================
--- target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig   (revision 29801)
+++ target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig   (working copy)
@@ -2,6 +2,11 @@
 
 menu "Ralink RT350x machine selection"
 
+config RT305X_MACH_ALL0256N
+       bool "Allnet ALL0256N support"
+       select RALINK_DEV_GPIO_BUTTONS
+       select RALINK_DEV_GPIO_LEDS
+
 config RT305X_MACH_W502U
        bool "ALFA Networks W502U board support"
        select RALINK_DEV_GPIO_BUTTONS
Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile
===================================================================
--- target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile  (revision 29801)
+++ target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile  (working copy)
@@ -13,6 +13,7 @@
 
 obj-$(CONFIG_RT305X_MACH_ARGUS_ATP52B) += mach-argus-atp52b.o
 obj-$(CONFIG_RT305X_MACH_BC2)          += mach-bc2.o
+obj-$(CONFIG_RT305X_MACH_ALL0256N)     += mach-all0256n.o
 obj-$(CONFIG_RT305X_MACH_DIR_300_REVB) += mach-dir-300-revb.o
 obj-$(CONFIG_RT305X_MACH_ESR_9753)     += mach-esr-9753.o
 obj-$(CONFIG_RT305X_MACH_F5D8235_V2)    += mach-f5d8235-v2.o
Index: target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
===================================================================
--- target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h       
(revision 29801)
+++ target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h       
(working copy)
@@ -20,6 +20,7 @@
        RAMIPS_MACH_WZR_AGL300NH,       /* Buffalo WZR-AGL300NH */
 
        /* RT3050 based machines */
+       RAMIPS_MACH_ALL0256N,           /* Allnet ALL0256N */
        RAMIPS_MACH_DIR_300_B1,         /* D-Link DIR-300 B1 */
        RAMIPS_MACH_DIR_600_B1,         /* D-Link DIR-600 B1 */
        RAMIPS_MACH_DIR_600_B2,         /* D-Link DIR-600 B2 */
Index: target/linux/ramips/rt305x/config-2.6.39
===================================================================
--- target/linux/ramips/rt305x/config-2.6.39    (revision 29801)
+++ target/linux/ramips/rt305x/config-2.6.39    (working copy)
@@ -91,6 +91,7 @@
 # CONFIG_RALINK_RT288X is not set
 CONFIG_RALINK_RT305X=y
 CONFIG_RAMIPS_WDT=y
+CONFIG_RT305X_MACH_ALL0256N=y
 CONFIG_RT305X_MACH_ARGUS_ATP52B=y
 CONFIG_RT305X_MACH_BC2=y
 CONFIG_RT305X_MACH_DIR_300_REVB=y

Attachment: signature.asc
Description: Digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to