summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtl81x9reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rtl81x9reg.h')
-rw-r--r--sys/dev/ic/rtl81x9reg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index 2018b970db1..84b17e32580 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.64 2009/07/10 21:27:49 sthen Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.65 2009/07/11 16:51:58 sthen Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -136,6 +136,8 @@
#define RL_TBI_ANAR 0x0068
#define RL_TBI_LPAR 0x006A
#define RL_GMEDIASTAT 0x006C /* 8 bits */
+#define RL_MACDBG 0x006D /* 8 bits */
+#define RL_GPIO 0x006E /* 8 bits */
#define RL_LDPS 0x0082 /* Link Down Power Saving */
#define RL_MAXRXPKTLEN 0x00DA /* 16 bits, chip multiplies by 8 */
#define RL_IM 0x00E2
@@ -316,6 +318,7 @@
#define RL_CMD_TX_ENB 0x0004
#define RL_CMD_RX_ENB 0x0008
#define RL_CMD_RESET 0x0010
+#define RL_CMD_STOPREQ 0x0080
/*
* EEPROM control register
@@ -829,6 +832,9 @@ struct rl_softc {
#define RL_FLAG_HWIM 0x0200
#define RL_FLAG_TIMERINTR 0x0400
#define RL_FLAG_MACLDPS 0x0800
+#define RL_FLAG_CMDSTOP 0x1000
+#define RL_FLAG_MACSLEEP 0x2000
+#define RL_FLAG_AUTOPAD 0x4000
#define RL_FLAG_LINK 0x8000
u_int16_t rl_intrs;