From c44ee422c3f7fb736b69ded2793a3673d0e51266 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 30 Mar 2010 21:24:10 +0000 Subject: [PATCH] ramips: register wifi device on the rt305x based boards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../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 dd2a5f474..27fad6ad9 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 6dc4b9d3f..c87bdaf3e 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 89822c3cf..812dfb4a9 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 5d015e264..4e0e810bb 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.20.1