diff options
author | Dmitry Tunin <hanipouspilot@gmail.com> | 2018-08-09 20:49:29 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-11 21:45:04 +0200 |
commit | 97de133368762824ba3d7e9d95f97011a597ec1a (patch) | |
tree | d55d2e625ccfa22b897ae3f3be075a2b2a7cefc8 /target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | |
parent | a441c86d93657121afe8117f8329b7095f7154d2 (diff) | |
download | upstream-97de133368762824ba3d7e9d95f97011a597ec1a.tar.gz upstream-97de133368762824ba3d7e9d95f97011a597ec1a.tar.bz2 upstream-97de133368762824ba3d7e9d95f97011a597ec1a.zip |
ath79: add support of D-Link DIR-825 B1
Add support for the ar71xx supported D-Link DIR-825 B1 to ath79.
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom')
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index cd8f19be39..9577859548 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -129,4 +129,26 @@ case "$FIRMWARE" in ;; esac ;; +"ath9k-eeprom-pci-0000:00:11.0.bin") + case $board in + dlink,dir-825-b1) + ath9k_eeprom_extract "caldata" 4096 3768 + ath9k_patch_fw_mac_crc $(mtd_get_mac_text "caldata" 65440) 524 + ;; + *) + ath9k_eeprom_die "board $board is not supported yet" + ;; + esac + ;; +"ath9k-eeprom-pci-0000:00:12.0.bin") + case $board in + dlink,dir-825-b1) + ath9k_eeprom_extract "caldata" 20480 3768 + ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_text "caldata" 65460) 1) 524 + ;; + *) + ath9k_eeprom_die "board $board is not supported yet" + ;; + esac + ;; esac |