]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r295823
authordavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Feb 2016 18:25:36 +0000 (18:25 +0000)
committerdavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Feb 2016 18:25:36 +0000 (18:25 +0000)
commit1cb389f75d4a31c85f0c747213d07a828a1e9f50
treebba23a0535c9059468bd0727748f371566919e0c
parenteae8b16d81c896ec49f2ff9f8a5078af4d4d09e9
MFC r295823
Modified the use of bxe_grc_dump() function so that it can be invoked directly at any potential error path, where a fwdump is needed. The fwdump (a.k.a grcdump) is stored in a driver buffer. The sysctl grcdump_done indicates if a fwdump was taken and waiting to be retrieved.
The sysctl trigger_grcdump can be used to manually trigger a fwdump.

git-svn-id: svn://svn.freebsd.org/base/stable/9@296048 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/bxe/bxe.c
sys/dev/bxe/bxe.h