ar71xx: rb2011: apply patch to file
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44314
This commit is contained in:
parent
65ec08d1b0
commit
0067ab8e39
3 changed files with 7 additions and 27 deletions
|
@ -321,6 +321,13 @@ static void __init rb2011us_setup(void)
|
||||||
|
|
||||||
MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US, "2011US", rb2011us_setup);
|
MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US, "2011US", rb2011us_setup);
|
||||||
|
|
||||||
|
static void __init rb2011r5_setup(void)
|
||||||
|
{
|
||||||
|
rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB | RB2011_FLAG_WLAN);
|
||||||
|
}
|
||||||
|
|
||||||
|
MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);
|
||||||
|
|
||||||
static void __init rb2011g_setup(void)
|
static void __init rb2011g_setup(void)
|
||||||
{
|
{
|
||||||
rb2011_setup(RB2011_FLAG_SFP |
|
rb2011_setup(RB2011_FLAG_SFP |
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
--- a/arch/mips/ath79/mach-rb2011.c
|
|
||||||
+++ b/arch/mips/ath79/mach-rb2011.c
|
|
||||||
@@ -321,6 +321,13 @@ static void __init rb2011us_setup(void)
|
|
||||||
|
|
||||||
MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US, "2011US", rb2011us_setup);
|
|
||||||
|
|
||||||
+static void __init rb2011r5_setup(void)
|
|
||||||
+{
|
|
||||||
+ rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);
|
|
||||||
+
|
|
||||||
static void __init rb2011g_setup(void)
|
|
||||||
{
|
|
||||||
rb2011_setup(RB2011_FLAG_SFP |
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/arch/mips/ath79/mach-rb2011.c
|
|
||||||
+++ b/arch/mips/ath79/mach-rb2011.c
|
|
||||||
@@ -323,7 +323,7 @@ MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US
|
|
||||||
|
|
||||||
static void __init rb2011r5_setup(void)
|
|
||||||
{
|
|
||||||
- rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB);
|
|
||||||
+ rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB | RB2011_FLAG_WLAN);
|
|
||||||
}
|
|
||||||
|
|
||||||
MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);
|
|
Loading…
Reference in a new issue