ath79: add support for Ubiquiti PowerBridge M
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 3db4d2a994826d75e8020307c5e39cb36dfa6ccc..90752a8f9be65f22036db592a0ea0ad26661e484 100644 (file)
@@ -9,6 +9,10 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath9k-eeprom-ahb-18100000.wmac.bin")
        case $board in
+       8dev,lima|\
+       ubnt,unifi)
+               caldata_extract "art" 0x1000 0x800
+               ;;
        avm,fritz1750e|\
        avm,fritz4020|\
        avm,fritz450e|\
@@ -107,12 +111,10 @@ case "$FIRMWARE" in
        ubnt,nanostation-loco-m|\
        ubnt,nanostation-m|\
        ubnt,picostation-m|\
+       ubnt,powerbridge-m|\
        ubnt,rocket-m)
                caldata_extract "art" 0x1000 0x1000
                ;;
-       ubnt,unifi)
-               caldata_extract "art" 0x1000 0x800
-               ;;
        wd,mynet-n750)
                caldata_extract "art" 0x5000 0x440
                ath9k_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")