ath10k: introduce dev_id to hw_params
authorBartosz Markowski <bartosz.markowski@tieto.com>
Thu, 5 Nov 2015 08:50:42 +0000 (09:50 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Nov 2015 19:03:04 +0000 (21:03 +0200)
commit079a0490e207c5a88e4b40cefcc331f4bce562f4
tree11d2dbca816f1cd2880424f4e5f6e4e9b0ad4d81
parent6cf213958299803c1166e63c1805a8b8cd135be5
ath10k: introduce dev_id to hw_params

A follow up patch introducing a QCA9377 hw1.0 support will need
this device identification helper for an explicit distinction of
HWs, as apparently both QCA6174 hw3.0 and QCA9377 share the same BMI
target version (0x0502000x). For the QCA9377 hw1.1 previously
added we were just lucky we did not overlap with the same chip_id_rev.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/pci.c