ath9k: get EEPROM contents from platform data on AHB bus
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Jan 2009 19:17:08 +0000 (20:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:33 +0000 (16:00 -0500)
commit9dbeb91a8b97e2892c04461e28d2bdd0198b719d
tree3ac42d298b739da86a991ed2bd53aa12377cb956
parent09329d371e57ff9fcb645b8e2cdee1ec8b9b539f
ath9k: get EEPROM contents from platform data on AHB bus

On the AR913x SOCs we have to provide EEPROM contents via platform_data,
because accessing the flash via MMIO is not safe. Additionally different
boards may store the radio calibration data at different locations.

Changes-licensed-under: ISC

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ahb.c
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/eeprom.c
drivers/net/wireless/ath9k/pci.c
include/linux/ath9k_platform.h [new file with mode: 0644]