X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fhotplug.d%2Ffirmware%2F10-rt2x00-eeprom;h=906c7ba1744ff07ae2e6845cee772f779a4738f8;hb=cd5f3584e2c2044c2cd53d723350a8d02b227aff;hp=fef89eae0e947e2983914f4db27e47587b1407fd;hpb=5986a18c16fe7035e1ec5a2474a47d0b13ea9383;p=openwrt%2Fstaging%2Fchunkeey.git 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 fef89eae0e..906c7ba174 100644 --- 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 @@ -21,7 +21,8 @@ rt2x00_eeprom_extract() { rt2x00_eeprom_die "failed to extract from $mtd" } -[ -e /lib/firmware/$FIRMWARE ] && exit 0 +FW="/lib/firmware/$FIRMWARE" +[ -e "$FW" ] && exit 0 . /lib/ramips.sh @@ -34,6 +35,7 @@ case "$FIRMWARE" in dir-300-b1 | \ dir-600-b1 | \ dir-600-b2 | \ + dir-610-a1 | \ dir-615-d) rt2x00_eeprom_extract "devdata" 16384 512 ;; @@ -61,12 +63,17 @@ case "$FIRMWARE" in all5002 | \ all5003 | \ argus-atp52b | \ + awm002-evb | \ bc2 | \ br6425 | \ + br-6475nd | \ broadway | \ br6524n | \ carambola | \ d105 | \ + dcs-930 | \ + dir-300-b7 | \ + dir-320-b1 | \ dir-615-h1 | \ dir-620-a1 | \ dir-620-d1 | \ @@ -75,8 +82,10 @@ case "$FIRMWARE" in fonera20n | \ rt-n13u | \ freestation5 | \ + hlk-rm04 | \ hw550-3g | \ mofi3500-3gn | \ + mpr-a1 | \ mpr-a2 | \ pwh2004 | \ nbg-419n | \ @@ -84,6 +93,7 @@ case "$FIRMWARE" in omni-emb | \ omni-emb-hpm | \ psr-680w | \ + px4885 | \ rt-n15 | \ rt-n56u | \ sl-r7205 | \ @@ -94,17 +104,21 @@ case "$FIRMWARE" in w502u | \ wcr-150gn | \ whr-g300n | \ + whr-300hp2 | \ + whr-600d | \ wl-330n | \ wl-330n3g | \ wl-351 | \ wli-tx4-ag300n | \ + wmr300 | \ wnce2001 | \ wr512-3gn | \ wr6202 | \ mzk-w300nh2 | \ ur-326n4g | \ ur-336un | \ - xdxrn502j) + xdxrn502j | \ + hg255d) rt2x00_eeprom_extract "factory" 0 512 ;; @@ -120,7 +134,7 @@ case "$FIRMWARE" in "rt2x00pci_1_0.eeprom") case $board in - rt-n56u) + rt-n56u | whr-600d) rt2x00_eeprom_extract "factory" 32768 512 ;; esac