aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000x_common.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-09-03 18:37:26 +0200
committerJason Wang <jasowang@redhat.com>2017-09-08 08:17:37 +0800
commit757704f1b7bffd441101bdab0bbcff27cd11ab34 (patch)
treeee9347f4d96ebe65f46e5f105ba6c214fa8fcbaa /hw/net/e1000x_common.h
parent0522a959aec29768610900636f6234ab40530f82 (diff)
e1000: Rename the SEC symbol to SEQEC
SunOS defines SEC in <sys/time.h> as 1 (commonly used time symbols). This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski <n54@gmx.com> Reviewed-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000x_common.h')
-rw-r--r--hw/net/e1000x_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000x_common.h b/hw/net/e1000x_common.h
index 21bf28e0cc..3072ce9d50 100644
--- a/hw/net/e1000x_common.h
+++ b/hw/net/e1000x_common.h
@@ -40,7 +40,7 @@ enum {
defreg(VFTA), defreg(VET), defreg(RDTR), defreg(RADV),
defreg(TADV), defreg(ITR), defreg(SCC), defreg(ECOL),
defreg(MCC), defreg(LATECOL), defreg(COLC), defreg(DC),
- defreg(TNCRS), defreg(SEC), defreg(CEXTERR), defreg(RLEC),
+ defreg(TNCRS), defreg(SEQEC), defreg(CEXTERR), defreg(RLEC),
defreg(XONRXC), defreg(XONTXC), defreg(XOFFRXC), defreg(XOFFTXC),
defreg(FCRUC), defreg(AIT), defreg(TDFH), defreg(TDFT),
defreg(TDFHS), defreg(TDFTS), defreg(TDFPC), defreg(WUC),