aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/ixl_txrx.c
diff options
context:
space:
mode:
authorEric Joyner <erj@FreeBSD.org>2016-09-01 01:08:18 +0000
committerEric Joyner <erj@FreeBSD.org>2016-09-01 01:08:18 +0000
commitff9b61ca075659efd790dd8109b4680f2ac8ea61 (patch)
treed0e7ca828fa795721caef3bfa0cf92c158895eb8 /sys/dev/ixl/ixl_txrx.c
parenta9feb2cdbb612b58e2d5b31c2732d484e3481228 (diff)
downloadsrc-ff9b61ca075659efd790dd8109b4680f2ac8ea61.tar.gz
src-ff9b61ca075659efd790dd8109b4680f2ac8ea61.zip
Fix linker warnings (errors on gcc) that resulted from r304510.
The variables that are extern in the netmap header file should be defined in ixl_txrx.c (the file that is included in both ixl(4)/ixlv(4), not in the main driver source files. Reported by: ed@, dim@, ngie@
Notes
Notes: svn path=/head/; revision=305168
Diffstat (limited to 'sys/dev/ixl/ixl_txrx.c')
-rw-r--r--sys/dev/ixl/ixl_txrx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index 5cf54fa9410a..9a7fae3b055f 100644
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -69,6 +69,7 @@ static inline u32 ixl_get_tx_head(struct ixl_queue *que);
#ifdef DEV_NETMAP
#include <dev/netmap/if_ixl_netmap.h>
+int ixl_rx_miss, ixl_rx_miss_bufs, ixl_crcstrip = 1;
#endif /* DEV_NETMAP */
/*