diff options
author | Landon J. Fuller <landonf@FreeBSD.org> | 2017-11-27 22:13:30 +0000 |
---|---|---|
committer | Landon J. Fuller <landonf@FreeBSD.org> | 2017-11-27 22:13:30 +0000 |
commit | ac59515b9800732037d8147e96afd9927d3a7ae7 (patch) | |
tree | 062e2712c6fdbf77b132a4e70b85a34c3be3d597 /sys/dev/bhnd/bhnd.c | |
parent | 05ed3f9063415c85e3d15f11904bac28e285e9f9 (diff) | |
download | src-ac59515b9800732037d8147e96afd9927d3a7ae7.tar.gz src-ac59515b9800732037d8147e96afd9927d3a7ae7.zip |
bhnd(4): Fix bcma/siba core reset behavior
Add missing support for specifying I/O control flags during core reset,
and resolve a number of siba(4)-specific reset issues:
- Add missing check for target reject flags in siba_is_hw_suspended().
- Remove incorrect wait on SIBA_TMH_BUSY when modifying any target state
register; this should only be done when waiting for initiated
transactions to clear.
- Add missing wait on SIBA_IM_BY when asserting SIBA_IM_RJ.
- Overwrite any previously set SIBA_TML_REJ flag when bringing the core
out of reset. This fixes a lockup that occured when we brought up a core
(after reboot) that had previously been placed into RESET by siba_bwn(4).
Approved by: adrian (mentor, implicit)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D13039
Notes
Notes:
svn path=/head/; revision=326292
Diffstat (limited to 'sys/dev/bhnd/bhnd.c')
0 files changed, 0 insertions, 0 deletions