X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fhotplug.d%2Ffirmware%2F10-rt2x00-eeprom;h=d3e024235544c09d8e6d452cd76ea07b6a5d0d06;hp=fef89eae0e947e2983914f4db27e47587b1407fd;hb=1cd654611f450bd2ce579590a9118e7c84712587;hpb=de827f645e687f73d56927012b99c63d762bb4a5 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..d3e0242355 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,16 @@ case "$FIRMWARE" in all5002 | \ all5003 | \ argus-atp52b | \ + awm002-evb | \ bc2 | \ br6425 | \ broadway | \ br6524n | \ carambola | \ d105 | \ + dcs-930 | \ + dir-300-b7 | \ + dir-320-b1 | \ dir-615-h1 | \ dir-620-a1 | \ dir-620-d1 | \ @@ -77,6 +83,7 @@ case "$FIRMWARE" in freestation5 | \ hw550-3g | \ mofi3500-3gn | \ + mpr-a1 | \ mpr-a2 | \ pwh2004 | \ nbg-419n | \ @@ -104,7 +111,8 @@ case "$FIRMWARE" in mzk-w300nh2 | \ ur-326n4g | \ ur-336un | \ - xdxrn502j) + xdxrn502j | \ + hg255d) rt2x00_eeprom_extract "factory" 0 512 ;;