summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-07-04 02:59:30 +0000
committeradrian <adrian@FreeBSD.org>2015-07-04 02:59:30 +0000
commit325681b5bb3e27e97fb4c3a1af18bf958fd26892 (patch)
tree21944ca2387a0bc8e392144793c47af5ce02218b /contrib/llvm/lib/CodeGen/VirtRegMap.cpp
parent6e2b0363cac9630a9152f0517e46fce2ef3c6bfc (diff)
downloadFreeBSD-src-325681b5bb3e27e97fb4c3a1af18bf958fd26892.zip
FreeBSD-src-325681b5bb3e27e97fb4c3a1af18bf958fd26892.tar.gz
Wake up the hardware before doing anything in sysctl.
This stops the panics that occur on MIPS platforms when doing say, 'sysctl dev.ath.0' whilst the MAC is asleep. The MIPS platform is rather unforgiving in getting power-save register access wrong and you will get all kinds of odd failures if you don't have things woken up at the right times. Tested: * QCA9558 (TP-Link Archer C7 v2) * AR9331 (Carambola 2) .. with no VAPs configured and ath0 down (thus the MAC is definitely asleep.) PR: kern/201117
Diffstat (limited to 'contrib/llvm/lib/CodeGen/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud