summaryrefslogtreecommitdiff
path: root/code/fe310/eos/net_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/net_def.h')
-rw-r--r--code/fe310/eos/net_def.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/code/fe310/eos/net_def.h b/code/fe310/eos/net_def.h
index 87e3fbe..473714c 100644
--- a/code/fe310/eos/net_def.h
+++ b/code/fe310/eos/net_def.h
@@ -4,10 +4,12 @@
#define NET_PIN_RTS 20
#define NET_PIN_CTS 22
-#define NET_FLAG_RUN 0x01
-#define NET_FLAG_RST 0x02
-#define NET_FLAG_RTS 0x04
-#define NET_FLAG_CTS 0x08
-#define NET_FLAG_INIT 0x10
-#define NET_FLAG_ONEW 0x20
+#define NET_STATE_FLAG_RUN 0x01
+#define NET_STATE_FLAG_RST 0x02
+#define NET_STATE_FLAG_RTS 0x04
+#define NET_STATE_FLAG_CTS 0x08
+#define NET_STATE_FLAG_INIT 0x10
+#define NET_STATE_FLAG_ONEW 0x20
+
+#define NET_MTYPE_FLAG_ONEW 0x10