From 1c25cfcde00f469cd022c60affc7162bd5bfef06 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 30 Mar 2010 21:24:10 +0000 Subject: [PATCH] ramips: register wifi device on the rt305x based boards SVN-Revision: 20616 --- .../ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c | 1 + 4 files changed, 4 insertions(+) diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c index dd2a5f4740..27fad6ad91 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c @@ -116,6 +116,7 @@ static void __init dir_300b_init(void) ramips_register_gpio_buttons(-1, DIR_300B_BUTTONS_POLL_INTERVAL, ARRAY_SIZE(dir_300b_gpio_buttons), dir_300b_gpio_buttons); + rt305x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_DIR_300_REVB, "DIR-300-revB", "D-Link DIR-300 revB", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index 6dc4b9d3fe..c87bdaf3e8 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -119,6 +119,7 @@ static void __init fonera20n_init(void) fonera20n_gpio_buttons); rt305x_register_ethernet(); + rt305x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_FONERA20N, "FONERA20N", "La Fonera 2.0N", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c index 89822c3cf1..812dfb4a98 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c @@ -110,6 +110,7 @@ static void __init v22rw_2x2_init(void) ramips_register_gpio_buttons(-1, V22RW_2X2_BUTTONS_POLL_INTERVAL, ARRAY_SIZE(v22rw_2x2_gpio_buttons), v22rw_2x2_gpio_buttons); + rt305x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_V22RW_2X2, "V22RW-2X2", "Ralink AP-RT3052-V22RW-2X2", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c index 5d015e2647..4e0e810bbd 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c @@ -136,6 +136,7 @@ static void __init whr_g300n_init(void) ramips_register_gpio_buttons(-1, WHR_G300N_BUTTONS_POLL_INTERVAL, ARRAY_SIZE(whr_g300n_gpio_buttons), whr_g300n_gpio_buttons); + rt305x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_WHR_G300N, "WHR-G300N", "Buffalo WHR-G300N", -- 2.30.2