aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000_regs.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/e1000_regs.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/e1000_regs.h')
-rw-r--r--hw/net/e1000_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000_regs.h b/hw/net/e1000_regs.h
index 23eed50b9c..ae99f58bab 100644
--- a/hw/net/e1000_regs.h
+++ b/hw/net/e1000_regs.h
@@ -260,7 +260,7 @@
#define E1000_COLC 0x04028 /* Collision Count - R/clr */
#define E1000_DC 0x04030 /* Defer Count - R/clr */
#define E1000_TNCRS 0x04034 /* TX-No CRS - R/clr */
-#define E1000_SEC 0x04038 /* Sequence Error Count - R/clr */
+#define E1000_SEQEC 0x04038 /* Sequence Error Count - R/clr */
#define E1000_CEXTERR 0x0403C /* Carrier Extension Error Count - R/clr */
#define E1000_RLEC 0x04040 /* Receive Length Error Count - R/clr */
#define E1000_XONRXC 0x04048 /* XON RX Count - R/clr */