svn commit: r262016 - head/sys/dev/etherswitch/arswitch

Adrian Chadd adrian at FreeBSD.org
Mon Feb 17 05:54:25 UTC 2014


Author: adrian
Date: Mon Feb 17 05:54:24 2014
New Revision: 262016
URL: http://svnweb.freebsd.org/changeset/base/262016

Log:
  The MDIO control register for the AR8327 has a different address to
  previous chipsets.
  
  Obtained from:	AR8327 datasheet

Modified:
  head/sys/dev/etherswitch/arswitch/arswitchreg.h

Modified: head/sys/dev/etherswitch/arswitch/arswitchreg.h
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitchreg.h	Mon Feb 17 05:51:37 2014	(r262015)
+++ head/sys/dev/etherswitch/arswitch/arswitchreg.h	Mon Feb 17 05:54:24 2014	(r262016)
@@ -395,6 +395,8 @@
 #define	AR8327_REG_MIB_FUNC		0x034
 #define		AR8327_MIB_CPU_KEEP		(1 << 20)
 
+#define	AR8327_REG_MDIO_CTRL		0x03c
+
 #define	AR8327_REG_SERVICE_TAG		0x048
 #define	AR8327_REG_LED_CTRL0		0x050
 #define	AR8327_REG_LED_CTRL1		0x054


More information about the svn-src-all mailing list