Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 05:54:25 +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: r262016 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201402170554.s1H5sPSC076796@svn.freebsd.org>

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



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