projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
atheros: leave the gpio interrupts alone when user space changes the gpio input setti...
[openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
ar71xx.sh
1
#!/bin/sh
2
#
3
# Copyright (C) 2009 OpenWrt.org
4
#
5
6
ar71xx_board_name
() {
7
local
machine
8
local
name
9
10
machine
=
$
(
awk
'BEGIN{FS="[
\t
]+:[
\t
]"} /machine/ {print
$2
}'
/
proc
/
cpuinfo
)
11
12
case
"
$machine
"
in
13
*
AP81
)
14
name
=
"ap81"
15
;;
16
*
AP83
)
17
name
=
"ap83"
18
;;
19
*
AW-NR580
)
20
name
=
"aw-nr580"
21
;;
22
*
"Bullet M"
)
23
name
=
"bullet-m"
24
;;
25
*
LS-SR71
)
26
name
=
"ls-sr71"
27
;;
28
*
MZK-W04NU
)
29
name
=
"mzk-w04nu"
30
;;
31
*
MZK-W300NH
)
32
name
=
"mzk-w300nh"
33
;;
34
*
PB42
)
35
name
=
"pb42"
36
;;
37
*
PB44
)
38
name
=
"pb44"
39
;;
40
*
RB-411
)
41
name
=
"rb-411"
42
;;
43
*
RB-433
)
44
name
=
"rb-433"
45
;;
46
*
RB-450
)
47
name
=
"rb-450"
48
;;
49
*
RB-493
)
50
name
=
"rb-493"
51
;;
52
*
RouterStation
)
53
name
=
"routerstation"
54
;;
55
*
TEW-632BRP
)
56
name
=
"tew-632brp"
57
;;
58
*
TL-WR741ND
)
59
name
=
"tl-wr741nd"
60
;;
61
*
TL-WR941ND
)
62
name
=
"tl-wr941nd"
63
;;
64
*
WP543
)
65
name
=
"wp543"
66
;;
67
*
WNR2000
)
68
name
=
"wnr2000"
69
;;
70
*
WRT160NL
)
71
name
=
"wrt160nl"
72
;;
73
*
WRT400N
)
74
name
=
"wrt400n"
75
;;
76
*)
77
name
=
"generic"
78
;;
79
esac
80
81
echo
$name
82
}
This page took
0.043795 seconds
and
5
git commands to generate.