freebsd-skq/sys/contrib
Adrian Chadd f50e4ebf6a ath(4): begin fleshing out a "reset type" extension to force cold/warn resets.
Right now the only way to force a cold reset is:

* The HAL itself detects it's needed, or
* The sysctl, setting all resets to be cold.

Trouble is, cold resets take quite a bit longer than warm resets.

However, there are situations where a cold reset would be nice.
Specifically, after a stuck beacon, BB/MAC hang, stuck calibration results,
etc.

The vendor HAL has a separate method to set the reset reason (which is
how HAL_RESET_BBPANIC gets set) which informs the HAL during the reset path
why it occured.  This is almost but not quite the same; I may eventually
unify both approaches in the future.

This commit just extends HAL_RESET_TYPE to include both status (eg BBPANIC)
and type (eg do COLD.)  None of the HAL code uses it yet though;  that'll
come later.

It also is a big no-op in each HAL - I need to go teach each of the HALs
about cold/warm reset through this path.
2015-11-09 15:59:42 +00:00
..
alpine-hal Import Annapurna Labs Alpine HAL to sys/contrib/ 2015-07-28 14:20:33 +00:00
cloudabi Import the latest CloudABI system call definitions and table. 2015-08-05 13:09:46 +00:00
dev ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ipfilter/netinet Really fix ipfilter bug 3600459. 2015-10-18 03:09:03 +00:00
libfdt Update to latest git version of dtc to get new dtsv2 support, 2012-07-24 16:29:33 +00:00
libnv Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Turns out that there really isn't an RTC chip on this board, at all. 2013-05-12 01:29:18 +00:00
rdma/krping Rename linuxapi[.ko] into linuxkpi[.ko], to reflect that it is a 2015-10-22 09:50:45 +00:00
v4l Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
vchiq/interface Fix pagelist bus_dmamap_t map handling. Memory for pagelist is allocated 2015-11-08 18:48:35 +00:00
x86emu Sync with OpenBSD: Use volatile instead of __volatile__. 2015-04-13 20:23:46 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00