]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: add support for reading EEPROM data from the internal OTP ROM
authorFelix Fietkau <nbd@openwrt.org>
Tue, 16 Nov 2010 18:20:28 +0000 (19:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 17 Nov 2010 21:19:30 +0000 (16:19 -0500)
commit4fb291ece6c0b0448cfe1b63de4eb08fb85ab9d3
tree6b1bd30c51735d4646cbeecbd81ebca028a5baa2
parentecbe8bd4ba928c154a0e121df4f5047e9e4be485
ath9k_hw: add support for reading EEPROM data from the internal OTP ROM

Some of the new AR9003 cards do not come with an external EEPROM chip
anymore. Calibration data on these cards is stored in the OTP ROM on
the chip.
This patch adds support for reading this data, and also adds support
for different EEPROM chip sizes (512 bytes instead of 1K).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_eeprom.h