ath5k: add a new bus op for reading the mac address
commitfa9bfd61e03e8dbcf110a93b373234d17a732233
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Apr 2011 19:56:44 +0000 (13 21:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Apr 2011 19:35:09 +0000 (14 15:35 -0400)
treed2d3b0e6ac74ffba6eda683246098bb7d34016a5
parent0cb9e06b6359bfa82f46c38a0b43e72d90b84081
ath5k: add a new bus op for reading the mac address

On AHB, the calibration data usually does not contain a valid MAC address,
the correct MAC address is stored in the board config.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ahb.c
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/eeprom.c
drivers/net/wireless/ath/ath5k/pci.c