projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: use switch statement instead of multiple if-else-if in the rt288x pci code
[openwrt.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
ralink
/
common
/
prom.c
diff --git
a/target/linux/ramips/files/arch/mips/ralink/common/prom.c
b/target/linux/ramips/files/arch/mips/ralink/common/prom.c
index
edc3c5e
..
923673b
100644
(file)
--- a/
target/linux/ramips/files/arch/mips/ralink/common/prom.c
+++ b/
target/linux/ramips/files/arch/mips/ralink/common/prom.c
@@
-32,6
+32,9
@@
static struct board_rec boards[] __initdata = {
{
.name = "RT-N15",
.mach_type = RAMIPS_MACH_RT_N15,
{
.name = "RT-N15",
.mach_type = RAMIPS_MACH_RT_N15,
+ }, {
+ .name = "V22RW-2X2",
+ .mach_type = RAMIPS_MACH_V22RW_2X2,
}, {
.name = "WHR-G300N",
.mach_type = RAMIPS_MACH_WHR_G300N,
}, {
.name = "WHR-G300N",
.mach_type = RAMIPS_MACH_WHR_G300N,
This page took
0.019152 seconds
and
4
git commands to generate.