]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1f865fb755ce81e9f41b1824c30db513d58dd70
treed8f431bf18b52b7fbbc71e99b063170b1c7b8477
parent23c76938899904a6d04e6e48e45ba5a3a29788ad
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