]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r295823
authordavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Feb 2016 20:02:30 +0000 (20:02 +0000)
committerdavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Feb 2016 20:02:30 +0000 (20:02 +0000)
commit0851bf480735e651d7d9ba1c69be7e4b9d2c7b8d
tree2c19a16182c7d6ed7c81a8db9cf08937eeb17509
parent4636160bc24c3d10f7e0e0a9569d700236a1008b
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.

Approved by:re (marius)

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