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 dd2a5f47408e2642fb5210a04e46c5733e3744e5..27fad6ad911c0d049c55bcf608ba076280a52e9b 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 6dc4b9d3fe368863a3cc1c41fb59b684384e98fc..c87bdaf3e8300a2dc173fd1b66746315856b5a8a 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 89822c3cf141b6eada94d1cbd19d9e9d13f65443..812dfb4a98aed1b745537cb496645e41f222f1cc 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 5d015e26478bd7ff074d85bfce7ced7e1f014c38..4e0e810bbdfd707d5a74271af0ac76e1595307ec 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",