mirror of https://github.com/hak5/openwrt.git
ar71xx: uniform GL iNet products mach name
The mach name of GL AR150 and GL AR300 is inconsistent with other products. Signed-off-by: Kyson Lok <kysonlok@gmail.com>openwrt-18.06
parent
6b6dc2b3e3
commit
9dbfd8e9df
|
@ -676,10 +676,10 @@ ar71xx_board_detect() {
|
||||||
*"FRITZ!WLAN Repeater 300E")
|
*"FRITZ!WLAN Repeater 300E")
|
||||||
name="fritz300e"
|
name="fritz300e"
|
||||||
;;
|
;;
|
||||||
*"GL AR150")
|
*"GL-AR150")
|
||||||
name="gl-ar150"
|
name="gl-ar150"
|
||||||
;;
|
;;
|
||||||
*"GL AR300")
|
*"GL-AR300")
|
||||||
name="gl-ar300"
|
name="gl-ar300"
|
||||||
;;
|
;;
|
||||||
*"GL-AR300M")
|
*"GL-AR300M")
|
||||||
|
|
|
@ -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);
|
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);
|
||||||
|
|
|
@ -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);
|
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);
|
||||||
|
|
Loading…
Reference in New Issue