ath5k: don't use PCI ID to find the chip revision
AR5K_SREV is available even if the chip has been put to sleep. Relying on the chip register allows binding non-standard PCI IDs by echo VENDOR_ID PRODUCT_ID >/sys/bus/pci/drivers/ath5k/new_id without having to specify the driver data as well. Signed-off-by:Pavel Roskin <proski@gnu.org> Acked-by:
Bob Copeland <me@bobcopeland.com> Acked-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/ath/ath5k/ath5k.h 1 addition, 1 deletiondrivers/net/wireless/ath/ath5k/ath5k.h
- drivers/net/wireless/ath/ath5k/attach.c 9 additions, 5 deletionsdrivers/net/wireless/ath/ath5k/attach.c
- drivers/net/wireless/ath/ath5k/base.c 19 additions, 19 deletionsdrivers/net/wireless/ath/ath5k/base.c
Loading
Please register or sign in to comment