[OpenWrt-Devel] [PATCH] ar71xx: fix device names in GL-AR150 and GL-AR300 profiles

Tom Psyborg pozega.tomislav at gmail.com
Mon Feb 8 00:32:37 EST 2016


Fix names displayed in the main Luci page for GL-AR150 and GL-AR300 devices.

Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
---

Patch

diff -pur a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh 2016-02-05
08:17:54.907348279 +0100
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh 2016-02-05
08:34:24.488186080 +0100
@@ -503,10 +503,10 @@ ar71xx_board_detect() {
  name="gl-inet"
  gl_inet_board_detect
  ;;
- *"GL AR150")
+ *"GL-AR150")
  name="gl-ar150"
  ;;
- *"GL AR300")
+ *"GL-AR300")
  name="gl-ar300"
  ;;
  *"EnGenius EPG5000")
diff -pur a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
--- a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt 2016-02-05
08:25:30.205574118 +0100
+++ b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt 2016-02-05
08:33:47.392004734 +0100
@@ -547,7 +547,7 @@ config ATH79_MACH_EL_MINI
  select ATH79_DEV_WMAC

 config ATH79_MACH_GL_AR150
- bool "GL AR150 support"
+ bool "GL-AR150 support"
  select SOC_AR933X
  select ATH79_DEV_ETH
  select ATH79_DEV_GPIO_BUTTONS
@@ -557,7 +557,7 @@ config ATH79_MACH_GL_AR150
  select ATH79_DEV_WMAC

 config ATH79_MACH_GL_AR300
- bool "GL_AR300 support"
+ bool "GL-AR300 support"
  select SOC_AR934X
  select ATH79_DEV_ETH
  select ATH79_DEV_GPIO_BUTTONS
diff -pur a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c 2016-02-05
08:23:48.561077207 +0100
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c 2016-02-05
08:30:56.807170793 +0100
@@ -122,4 +122,4 @@ static void __init gl_ar150_setup(void)
  ath79_register_wmac(art + GL_AR150_CALDATA_OFFSET, art +
GL_AR150_WMAC_MAC_OFFSET);
 }

-MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL AR150",gl_ar150_setup);
+MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL-AR150",gl_ar150_setup);
diff -pur a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c 2016-02-04
03:10:39.860872000 +0100
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c 2016-02-05
08:35:30.844510514 +0100
@@ -100,4 +100,4 @@ static void __init gl_ar300_setup(void)
  ath79_register_wmac(art + GL_AR300_CALDATA_OFFSET, art +
GL_AR300_WMAC_MAC_OFFSET);
 }

-MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL AR300",gl_ar300_setup);
+MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL-AR300",gl_ar300_setup);
diff -pur a/target/linux/ar71xx/generic/profiles/gli.mk
b/target/linux/ar71xx/generic/profiles/gli.mk
--- a/target/linux/ar71xx/generic/profiles/gli.mk 2016-02-05
08:20:46.872188948 +0100
+++ b/target/linux/ar71xx/generic/profiles/gli.mk 2016-02-05
08:32:23.759595824 +0100
@@ -16,23 +16,23 @@ endef
 $(eval $(call Profile,GLINET))

 define Profile/GL-AR150
- NAME:=GL AR150
+ NAME:=GL-AR150
  PACKAGES:=kmod-usb-core kmod-usb2
 endef

 define Profile/GL-AR150/Description
- Configuration of GL AR150.
+ Configuration of GL-AR150.
 endef

 $(eval $(call Profile,GL-AR150))

 define Profile/GL-AR300
- NAME:=GL AR300
+ NAME:=GL-AR300
  PACKAGES:=kmod-usb-core kmod-usb2
 endef

 define Profile/GL-AR300/Description
- Configuration of GL AR300.
+ Configuration of GL-AR300.
 endef

 $(eval $(call Profile,GL-AR300))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160208/9ed1821a/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list