ar71xx: include vendor name for GL iNet products
authorKyson Lok <kysonlok@gmail.com>
Fri, 19 Jan 2018 08:36:01 +0000 (16:36 +0800)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 22 Feb 2018 17:53:22 +0000 (18:53 +0100)
This patch include GL.iNet vendor name in the
machine name for GL.iNet vendor products.

Signed-off-by: Kyson Lok <kysonlok@gmail.com>
target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c
target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c

index 9824bb89f9b04523346759f5e4d412dca3d9d3c4..9febc7a839262254907f3aa31f4cff6ba94097b0 100644 (file)
@@ -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.iNet GL-AR150", gl_ar150_setup);
index ae9663531399cabcd0959c47a21ed9433cb75e52..1708d696b840236ed10c4f28e65319b14622adad 100644 (file)
@@ -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.iNet GL-AR300", gl_ar300_setup);
index c4e537f8613f269c3dc7fe1f3e58dafcbbb5c4ea..2a2d2702bcc699f481d1e3595f29349a70fc8d6d 100644 (file)
@@ -162,5 +162,4 @@ static void __init gl_ar300m_setup(void)
        ath79_register_pci();
 }
 
-MIPS_MACHINE(ATH79_MACH_GL_AR300M, "GL-AR300M", "GL-AR300M",
-                gl_ar300m_setup);
+MIPS_MACHINE(ATH79_MACH_GL_AR300M, "GL-AR300M", "GL.iNet GL-AR300M", gl_ar300m_setup);
index 412c562fa042e7abb0ccb35208bb55821efc8660..9f8ca2f46b24c8d17365e530ba14b01926ef7865 100644 (file)
@@ -111,4 +111,4 @@ static void __init gl_mifi_setup(void)
        ath79_register_wmac(art + GL_MIFI_CALDATA_OFFSET, art + GL_MIFI_WMAC_MAC_OFFSET);
 }
 
-MIPS_MACHINE(ATH79_MACH_GL_MIFI, "GL-MIFI", "GL-MIFI",gl_mifi_setup);
+MIPS_MACHINE(ATH79_MACH_GL_MIFI, "GL-MIFI", "GL.iNet GL-MIFI", gl_mifi_setup);