cxgbe(4): initialize debug_flags from the kernel environment.

MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2015-07-31 04:50:47 +00:00
parent 8917728875
commit 3d3169c858

View File

@ -585,9 +585,7 @@ t4_attach(device_t dev)
sc = device_get_softc(dev);
sc->dev = dev;
#ifdef INVARIANTS
sc->debug_flags = DF_DUMP_MBOX;
#endif
TUNABLE_INT_FETCH("hw.cxgbe.debug_flags", &sc->debug_flags);
pci_enable_busmaster(dev);
if (pci_find_cap(dev, PCIY_EXPRESS, &i) == 0) {