summaryrefslogtreecommitdiffstats
path: root/sys/dev/bxe/bxe.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bxe/bxe.h')
-rw-r--r--sys/dev/bxe/bxe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/bxe/bxe.h b/sys/dev/bxe/bxe.h
index 32b63f5..dc382ba 100644
--- a/sys/dev/bxe/bxe.h
+++ b/sys/dev/bxe/bxe.h
@@ -1830,6 +1830,11 @@ struct bxe_softc {
uint8_t prio_to_cos[BXE_MAX_PRIORITY];
int panic;
+
+ struct cdev *ioctl_dev;
+ void *grc_dump;
+ int trigger_grcdump;
+ int grcdump_done;
}; /* struct bxe_softc */
/* IOCTL sub-commands for edebug and firmware upgrade */
@@ -2296,6 +2301,7 @@ void ecore_storm_memset_struct(struct bxe_softc *sc, uint32_t addr,
"ERROR: " format, \
## args); \
} \
+ sc->trigger_grcdump |= 0x1; \
} while(0)
#ifdef ECORE_STOP_ON_ERROR
OpenPOWER on IntegriCloud