Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add MAC config register bit definitions



details:   https://anonhg.NetBSD.org/src/rev/f14be76524a6
branches:  trunk
changeset: 332982:f14be76524a6
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 13 08:18:52 2014 +0000

description:
Add MAC config register bit definitions

diffstat:

 sys/dev/ic/dwc_gmac_reg.h |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 089a2171216b -r f14be76524a6 sys/dev/ic/dwc_gmac_reg.h
--- a/sys/dev/ic/dwc_gmac_reg.h Mon Oct 13 07:31:12 2014 +0000
+++ b/sys/dev/ic/dwc_gmac_reg.h Mon Oct 13 08:18:52 2014 +0000
@@ -42,6 +42,13 @@
 #define        AWIN_GMAC_MAC_ADDR0LO           0x0044
 #define        AWIN_GMAC_MII_STATUS            0x00D8
 
+#define        AWIN_GMAC_MAC_CONF_FRAMEBURST   __BIT(21)
+#define        AWIN_GMAC_MAC_CONF_MIISEL       __BIT(15)
+#define        AWIN_GMAC_MAC_CONF_FES100       __BIT(14)
+#define        AWIN_GMAC_MAC_CONF_FULLDPLX     __BIT(11)
+#define        AWIN_GMAC_MAC_CONF_TXENABLE     __BIT(3)
+#define        AWIN_GMAC_MAC_CONF_RXENABLE     __BIT(2)
+
 #define        AWIN_GMAC_MAC_INT_LPI           __BIT(10)
 #define        AWIN_GMAC_MAC_INT_TSI           __BIT(9)
 #define        AWIN_GMAC_MAC_INT_ANEG          __BIT(2)



Home | Main Index | Thread Index | Old Index