ath9k: parse the device configuration from an OF node
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 16 Oct 2016 20:59:07 +0000 (22:59 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 15 Nov 2016 14:55:42 +0000 (16:55 +0200)
commit138b41253d9c9f9a06c8b086880cd3e839a23d69
treed8f431bf18b52b7fbbc71e99b063170b1c7b8477
parentb40ded2ad75cc251e7ce4ae0db7098e5a0157200
ath9k: parse the device configuration from an OF node

This allows setting the MAC address and specifying that the firmware
will be requested from userspace (because there might not be a hardware
EEPROM connected to the chip) for ath9k based PCI devices using
the device tree.

There is some out-of-tree code to "convert devicetree to
ath9k_platform_data" (for example in OpenWrt and LEDE) which becomes
obsolete with this patch.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/init.c