svn commit: r279420 - head/sys/dev/etherswitch/arswitch
Adrian Chadd
adrian at FreeBSD.org
Sat Feb 28 23:59:30 UTC 2015
Author: adrian
Date: Sat Feb 28 23:59:29 2015
New Revision: 279420
URL: https://svnweb.freebsd.org/changeset/base/279420
Log:
Add another register definition for the AR8327.
Obtained from: OpenWRT
Modified:
head/sys/dev/etherswitch/arswitch/arswitchreg.h
Modified: head/sys/dev/etherswitch/arswitch/arswitchreg.h
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitchreg.h Sat Feb 28 23:35:29 2015 (r279419)
+++ head/sys/dev/etherswitch/arswitch/arswitchreg.h Sat Feb 28 23:59:29 2015 (r279420)
@@ -443,6 +443,9 @@
#define AR8327_SGMII_CTRL_EN_RX (1 << 2)
#define AR8327_SGMII_CTRL_EN_TX (1 << 3)
+#define AR8327_REG_EEE_CTRL 0x100
+#define AR8327_EEE_CTRL_DISABLE_PHY(_i) BIT(4 + (_i) * 2)
+
#define AR8327_REG_PORT_VLAN0(_i) (0x420 + (_i) * 0x8)
#define AR8327_PORT_VLAN0_DEF_SVID BITS(0, 12)
#define AR8327_PORT_VLAN0_DEF_SVID_S 0
More information about the svn-src-all
mailing list