summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2017-01-30 22:00:14 -0600
committerLuiz Souza <luiz@netgate.com>2017-07-17 19:31:15 -0500
commit05ee643ebaea9e1a1637c956196b14a6d42b5d1d (patch)
tree87bd34c4526c7033870d4737d75037c48a477430
parent7122a0a6d08b29e28766e14a54b51c08510dd949 (diff)
downloadFreeBSD-src-05ee643ebaea9e1a1637c956196b14a6d42b5d1d.zip
FreeBSD-src-05ee643ebaea9e1a1637c956196b14a6d42b5d1d.tar.gz
Fix the build.
Spell VMXNET3_LEGACY_TX correctly. (cherry picked from commit 1752d602d65d9d043b75f7155217edc85c87b82b)
-rw-r--r--sys/dev/vmware/vmxnet3/if_vmxvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/vmware/vmxnet3/if_vmxvar.h b/sys/dev/vmware/vmxnet3/if_vmxvar.h
index 7c15c6f..711e694 100644
--- a/sys/dev/vmware/vmxnet3/if_vmxvar.h
+++ b/sys/dev/vmware/vmxnet3/if_vmxvar.h
@@ -21,7 +21,7 @@
#define _IF_VMXVAR_H
#ifdef ALTQ
-#define VMXNET3_TX_LEGACY
+#define VMXNET3_LEGACY_TX
#endif
struct vmxnet3_softc;
@@ -135,7 +135,7 @@ struct vmxnet3_txq_stats {
struct vmxnet3_txqueue {
struct mtx vxtxq_mtx;
struct vmxnet3_softc *vxtxq_sc;
-#ifndef VMXNET3_TX_LEGACY
+#ifndef VMXNET3_LEGACY_TX
struct buf_ring *vxtxq_br;
#endif
int vxtxq_id;
@@ -146,7 +146,7 @@ struct vmxnet3_txqueue {
struct vmxnet3_txq_stats vxtxq_stats;
struct vmxnet3_txq_shared *vxtxq_ts;
struct sysctl_oid_list *vxtxq_sysctl;
-#ifndef VMXNET3_TX_LEGACY
+#ifndef VMXNET3_LEGACY_TX
struct task vxtxq_defrtask;
#endif
char vxtxq_name[16];
OpenPOWER on IntegriCloud