diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-08-21 13:52:58 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-08-21 13:52:58 +0000 |
commit | b834a15c279fa93928acec4be5977cb27926835c (patch) | |
tree | a19add3f979d5ca776c645135366bcbafd096b4c | |
parent | 51233d6d5ec899a284b5e120746bf2896c1e81dd (diff) |
Fix build without vlan.
ok mikeb@
-rw-r--r-- | sys/dev/pci/if_ix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index ef88367449e..d62f3594207 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.90 2013/08/05 19:58:05 mikeb Exp $ */ +/* $OpenBSD: if_ix.c,v 1.91 2013/08/21 13:52:57 mpi Exp $ */ /****************************************************************************** @@ -2064,7 +2064,9 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, struct mbuf *mp, uint8_t ipproto = 0; int offload = TRUE; int ctxd = txr->next_avail_desc; +#if NVLAN > 0 uint16_t vtag = 0; +#endif #if notyet /* First check if TSO is to be used */ |