]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Allow platform override without EEPROM override
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 7 May 2014 07:28:31 +0000 (09:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2014 20:08:08 +0000 (16:08 -0400)
commitc05b9b80115970a16a472baf23dd25edb74c2592
treee32140a19f07bd915b3bfbcca2e1518336ed7b21
parentd2ad2531a955cf3987da09eeaa0a2493d575ef6a
ath9k: Allow platform override without EEPROM override

Add a new platform data flag "use_eeprom" that indicates that the eeprom
found on the card itself should be used instead of the one present in
the platform data.

This allows to override the MAC address of a PCI card while preserving
the eeprom data from the card itself.

The default behavior is preserved.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c
include/linux/ath9k_platform.h