projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add user-space support for the Planex MZK-W300NH2 Router
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
hotplug.d
/
firmware
/
10-rt2x00-eeprom
diff --git
a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 392a8e1da38e4c6efcbf49fe13776b9a4a1ec64e..be6975c8094312ac24886b1f66e252b30d647471 100644
(file)
--- a/
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@
-11,7
+11,7
@@
rt2x00_eeprom_extract() {
local count=$3
local mtd
local count=$3
local mtd
- . /
etc
/functions.sh
+ . /
lib
/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
@@
-28,13
+28,12
@@
rt2x00_eeprom_extract() {
board=$(ramips_board_name)
case "$FIRMWARE" in
board=$(ramips_board_name)
case "$FIRMWARE" in
-"RT288X.eeprom" | \
-"RT305X.eeprom" | \
-"RT3883.eeprom")
+"soc_wmac.eeprom")
case $board in
dir-300-b1 | \
dir-600-b1 | \
case $board in
dir-300-b1 | \
dir-600-b1 | \
- dir-600-b2)
+ dir-600-b2 | \
+ dir-615-d)
rt2x00_eeprom_extract "devdata" 16384 272
;;
rt2x00_eeprom_extract "devdata" 16384 272
;;
@@
-53,13
+52,19
@@
case "$FIRMWARE" in
;;
3g-6200n | \
;;
3g-6200n | \
+ air3gii | \
+ all0239-3g | \
all0256n | \
all5002 | \
argus-atp52b | \
bc2 | \
all0256n | \
all5002 | \
argus-atp52b | \
bc2 | \
+ broadway | \
+ carambola | \
+ dir-615-h1 | \
dir-620-a1 | \
esr-9753 | \
fonera20n | \
dir-620-a1 | \
esr-9753 | \
fonera20n | \
+ rt-n13u | \
freestation5 | \
hw550-3g | \
mofi3500-3gn | \
freestation5 | \
hw550-3g | \
mofi3500-3gn | \
@@
-83,6
+88,7
@@
case "$FIRMWARE" in
wli-tx4-ag300n | \
wr512-3gn | \
wr6202 | \
wli-tx4-ag300n | \
wr512-3gn | \
wr6202 | \
+ mzk-w300nh2 | \
ur-336un | \
xdxrn502j)
rt2x00_eeprom_extract "factory" 0 272
ur-336un | \
xdxrn502j)
rt2x00_eeprom_extract "factory" 0 272