add missing defines (currently unused).

---
 dev/usb/if_axenreg.h | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/dev/usb/if_axenreg.h b/dev/usb/if_axenreg.h
index e6b8355..9b4c721 100644
--- a/dev/usb/if_axenreg.h
+++ b/dev/usb/if_axenreg.h
@@ -157,7 +157,7 @@
 #define     AXEN_RXCTL_STOP                      0x0000
 #define     AXEN_RXCTL_PROMISC                   0x0001
 #define     AXEN_RXCTL_ACPT_ALL_MCAST            0x0002
-#define     AXEN_RXCTL_HA8B                      0x0004                 
+#define     AXEN_RXCTL_AUTOPAD_BNDRY             0x0004
 #define     AXEN_RXCTL_ACPT_BCAST                0x0008
 #define     AXEN_RXCTL_ACPT_MCAST                0x0010
 #define     AXEN_RXCTL_ACPT_PHY_MCAST            0x0020
@@ -170,17 +170,27 @@
 #define            AXEN_MEDIUM_GIGA                      0x0001
 #define            AXEN_MEDIUM_FDX                       0x0002
 #define            AXEN_MEDIUM_ALWAYS_ONE                0x0004
-#define            AXEN_MEDIUM_EN_125MHZ                 0x0008
+#define            AXEN_MEDIUM_ALWAYS_ZERO1              0x0008
 #define            AXEN_MEDIUM_RXFLOW_CTRL_EN            0x0010
 #define            AXEN_MEDIUM_TXFLOW_CTRL_EN            0x0020
+#define            AXEN_MEDIUM_JUMBOFRAME_EN             0x0040
+#define            AXEN_MEDIUM_PAUSEFRAME_LT_ONLY_EN     0x0080
 #define            AXEN_MEDIUM_RECV_EN                   0x0100
 #define            AXEN_MEDIUM_PORTSPEED_100             0x0200
-#define            AXEN_MEDIUM_JUMBO_EN                  0x8040
+#define            AXEN_MEDIUM_ALWAYS_ZERO2              0x0400
+#define            AXEN_MEDIUM_STOP_BACKPRESSURE         0x0800
+#define            AXEN_MEDIUM_SUPERMAC                  0x1000
+#define            AXEN_MEDIUM_ALWAYS_ZERO3              0x2000
+#define            AXEN_MEDIUM_ALWAYS_ZERO4              0x4000
+#define            AXEN_MEDIUM_ALWAYS_ZERO5              0x8000
+#define            AXEN_MEDIUM_JUMBO_EN \
+               (AXEN_MEDIUM_JUMBOFRAME_EN | AXEN_MEDIUM_STOP_BACKPRESSURE)
 #define   AXEN_PHYPWR_RSTCTL                   0x26
 #define     AXEN_PHYPWR_RSTCTL_BZ_AUTOCLEAR_DIS          0x0004
 #define     AXEN_PHYPWR_RSTCTL_BZ                0x0010
 #define     AXEN_PHYPWR_RSTCTL_IPRL              0x0020
 #define     AXEN_PHYPWR_RSTCTL_AUTODETACH        0x1000
+#define     AXEN_PHYPWR_RSTCTL_WOL_LOWPOWER      0x8000
 
 #define AXEN_CMD_EEPROM_READ                   0x2004
 #define            AXEN_EEPROM_STAT                      0x43
-- 
2.20.1

Reply via email to