projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: do general formatting on wnr2000-v4
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-archer-c7.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
index
01719eb
..
fc12513
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
@@
-1,8
+1,9
@@
/*
/*
- * TP-LINK Archer C7/TL-WDR4900 v2 board support
+ * TP-LINK Archer C
5/C
7/TL-WDR4900 v2 board support
*
* Copyright (c) 2013 Gabor Juhos <juhosg@openwrt.org>
* Copyright (c) 2014 施康成 <tenninjas@tenninjas.ca>
*
* Copyright (c) 2013 Gabor Juhos <juhosg@openwrt.org>
* Copyright (c) 2014 施康成 <tenninjas@tenninjas.ca>
+ * Copyright (c) 2014 Imre Kaloz <kaloz@openwrt.org>
*
* Based on the Qualcomm Atheros AP135/AP136 reference board support code
* Copyright (c) 2012 Qualcomm Atheros
*
* Based on the Qualcomm Atheros AP135/AP136 reference board support code
* Copyright (c) 2012 Qualcomm Atheros
@@
-239,6
+240,14
@@
static void __init common_setup(bool pcie_slot)
ath79_register_usb();
}
ath79_register_usb();
}
+static void __init archer_c5_setup(void)
+{
+ common_setup(true);
+}
+
+MIPS_MACHINE(ATH79_MACH_ARCHER_C5, "ARCHER-C5", "TP-LINK Archer C5",
+ archer_c5_setup);
+
static void __init archer_c7_setup(void)
{
common_setup(true);
static void __init archer_c7_setup(void)
{
common_setup(true);