ath79: convert Engenius EPG5000 radios to nvmem-cells
[openwrt/staging/stintel.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 14c8eb7d642053cdd84a9f69c3b781b8f93527fb..9827508c04a5d4432a3a598047343f2743fc04fc 100644 (file)
@@ -43,7 +43,14 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env athaddr) 1)
                ;;
-       engenius,epg5000|\
+       enterasys,ws-ap3705i)
+               caldata_extract "calibrate" 0x1000 0x440
+               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env0 RADIOADDR1)
+               ;;
+       extreme-networks,ws-ap3805i)
+               caldata_extract "art" 0x1000 0x440
+               ath9k_patch_mac $(mtd_get_mac_ascii cfg1 RADIOADDR1)
+               ;;
        iodata,wn-ac1167dgr|\
        iodata,wn-ac1600dgr|\
        iodata,wn-ac1600dgr2|\
@@ -53,14 +60,6 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env ethaddr)
                ;;
-       enterasys,ws-ap3705i)
-               caldata_extract "calibrate" 0x1000 0x440
-               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env0 RADIOADDR1)
-               ;;
-       extreme-networks,ws-ap3805i)
-               caldata_extract "art" 0x1000 0x440
-               ath9k_patch_mac $(mtd_get_mac_ascii cfg1 RADIOADDR1)
-               ;;
        nec,wg800hp)
                caldata_extract "art" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_text board_data 0x680)