summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-12-02 23:01:19 +0000
committerjhb <jhb@FreeBSD.org>2016-12-02 23:01:19 +0000
commit87d25e00a44c9f4055265b5db87413f6e759952c (patch)
treec50ad31ec64e59bdd99d41dc1ab74542e8e87087
parent0cb847ec97883259eda1aaf34ce0e32560785774 (diff)
downloadFreeBSD-src-87d25e00a44c9f4055265b5db87413f6e759952c.zip
FreeBSD-src-87d25e00a44c9f4055265b5db87413f6e759952c.tar.gz
MFC 303454: Mark spg_len and fl_pktshift static.
These variables are no longer exported to t4_netmap.c after r296478.
-rw-r--r--sys/dev/cxgbe/t4_sge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
index b9e770e..8ec93c6 100644
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -81,7 +81,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);
/*
@@ -98,7 +98,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);
/*
OpenPOWER on IntegriCloud