]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath9k_hw: Fix eeprom offset for AR9287 devices (PCI/USB)
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 19 Nov 2010 11:23:21 +0000 (16:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Nov 2010 21:19:41 +0000 (16:19 -0500)
commitf7ec8fb4d6f8f3ecb8b11e9e46ece95aa66139cc
tree286e8e839b91a024501b0086d23430ad13d3af4d
parent64f121708342afec306ce52920cc9982f4f1008f
ath9k_hw: Fix eeprom offset for AR9287 devices (PCI/USB)

AR9287 devices (PCI/USB) use different eeprom start location
to read nvram. New devices might endup with same devid. So use
driver_info to set offset, instead of devid. driver_info is
valid for HTC devices alone which is filled in usb_device_id.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom_9287.c
drivers/net/wireless/ath/ath9k/reg.h