1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286107

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) {