ramips: register wifi device on the rt305x based boards
authorGabor Juhos <juhosg@openwrt.org>
Tue, 30 Mar 2010 21:24:10 +0000 (21:24 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 30 Mar 2010 21:24:10 +0000 (21:24 +0000)
SVN-Revision: 20616

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c

index dd2a5f4..27fad6a 100644 (file)
@@ -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",
index 6dc4b9d..c87bdaf 100644 (file)
@@ -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",
index 89822c3..812dfb4 100644 (file)
@@ -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",
index 5d015e2..4e0e810 100644 (file)
@@ -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",