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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to