OpenCloudOS-Kernel/drivers/net/wireless/ath/ath10k
Kalle Valo e01ae68c5d ath10k: check chip id from the soc register during probe
ath10k doesn't support qca988x hw1.0 boards anymore. Unfortunately
the PCI id is the same in hw1.0 and hw2.0 so ath10k tries to use
hw1.0 boards anyway. But without hw1.0 workarounds in place
ath10k just crashes horribly.

To avoid using hw1.0 boards at all add a chip id detection
and fail the probe if hw1.0 is detected:

[ 5265.786408] ath10k: ERROR: qca988x hw1.0 is not supported
[ 5265.786497] ath10k: Unsupported chip id 0x043200ff
[ 5265.786574] ath10k: could not register driver core (-95)
[ 5265.793191] ath10k_pci: probe of 0000:02:00.0 failed with error -95

Also add a warning if there's an unknown chip id but continue
the boot process normally anyway.

Reported-by: Zaki Bakar <zaki.bm@gmail.com>
Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2013-09-03 09:54:16 +03:00
..
Kconfig
Makefile
bmi.c ath10k: reset BMI state upon init 2013-07-30 18:01:19 +03:00
bmi.h ath10k: reset BMI state upon init 2013-07-30 18:01:19 +03:00
ce.c ath10k: simplify ath10k_ce_init() wake up handling 2013-09-03 09:49:08 +03:00
ce.h ath10k: rename ce_ring_state to ath10k_ce_ring 2013-09-01 09:28:47 +03:00
core.c ath10k: check chip id from the soc register during probe 2013-09-03 09:54:16 +03:00
core.h ath10k: check chip id from the soc register during probe 2013-09-03 09:54:16 +03:00
debug.c ath10k: Fix mutex unlock balance 2013-08-28 07:08:27 +03:00
debug.h
hif.h ath10k: decouple suspend code 2013-07-30 18:01:19 +03:00
htc.c ath10k: fix HTT service setup 2013-08-14 18:01:28 +03:00
htc.h ath10k: prevent HTC from being used after stopping 2013-07-30 18:01:20 +03:00
htt.c ath10k: add support for HTT 3.0 2013-08-15 16:04:41 +03:00
htt.h ath10k: add support for HTT 3.0 2013-08-15 16:04:41 +03:00
htt_rx.c ath10k: implement 802.3 SNAP rx decap type A-MSDU handling 2013-08-14 18:01:28 +03:00
htt_tx.c ath10k: add support for HTT 3.0 2013-08-15 16:04:41 +03:00
hw.h ath10k: check chip id from the soc register during probe 2013-09-03 09:54:16 +03:00
mac.c ath10k: add support for HTT 3.0 2013-08-15 16:04:41 +03:00
mac.h ath10k: implement device recovery 2013-07-30 18:01:20 +03:00
pci.c ath10k: check chip id from the soc register during probe 2013-09-03 09:54:16 +03:00
pci.h ath10k: convert ath10k_pci_wake() to return 2013-09-03 09:49:08 +03:00
rx_desc.h
targaddrs.h
trace.c
trace.h
txrx.c
txrx.h
wmi.c ath10k: add support for firmware newer than 636 2013-08-15 16:04:41 +03:00
wmi.h ath10k: add support for firmware newer than 636 2013-08-15 16:04:41 +03:00