Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2015 23:59:30 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279420 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201502282359.t1SNxUmg068718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502282359.t1SNxUmg068718>