diff options
author | jhb <jhb@FreeBSD.org> | 2016-10-04 22:34:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-10-04 22:34:12 +0000 |
commit | 89da0ef83a2dd2e6e259459f2b3f9ba606e44ccb (patch) | |
tree | adcac6b964d89c3388d989342619edc2dafa74ac /sys | |
parent | e4468cf021fe9d8ee65964af8e27b34e96be916a (diff) | |
download | FreeBSD-src-89da0ef83a2dd2e6e259459f2b3f9ba606e44ccb.zip FreeBSD-src-89da0ef83a2dd2e6e259459f2b3f9ba606e44ccb.tar.gz |
MFC 303454: Mark spg_len and fl_pktshift static.
These variables are no longer exported to t4_netmap.c after r296478.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cxgbe/t4_sge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index 6b7c123..89618c5 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -82,7 +82,7 @@ __FBSDID("$FreeBSD$"); * Ethernet frames are DMA'd at this byte offset into the freelist buffer. * 0-7 are valid values. */ -int fl_pktshift = 2; +static int fl_pktshift = 2; TUNABLE_INT("hw.cxgbe.fl_pktshift", &fl_pktshift); /* @@ -99,7 +99,7 @@ TUNABLE_INT("hw.cxgbe.fl_pad", &fl_pad); * -1: driver should figure out a good value. * 64 or 128 are the only other valid values. */ -int spg_len = -1; +static int spg_len = -1; TUNABLE_INT("hw.cxgbe.spg_len", &spg_len); /* |