Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii add some more RTL8211F bits



details:   https://anonhg.NetBSD.org/src/rev/97b99e684b27
branches:  trunk
changeset: 810223:97b99e684b27
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Aug 21 16:29:48 2015 +0000

description:
add some more RTL8211F bits

diffstat:

 sys/dev/mii/rgephyreg.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r be3605525037 -r 97b99e684b27 sys/dev/mii/rgephyreg.h
--- a/sys/dev/mii/rgephyreg.h   Fri Aug 21 15:41:38 2015 +0000
+++ b/sys/dev/mii/rgephyreg.h   Fri Aug 21 16:29:48 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rgephyreg.h,v 1.8 2015/03/31 21:01:02 jmcneill Exp $   */
+/*     $NetBSD: rgephyreg.h,v 1.9 2015/08/21 16:29:48 jmcneill Exp $   */
 
 /*
  * Copyright (c) 2003
@@ -58,6 +58,11 @@
 /* RTL8211F */
 #define RGEPHY_MII_PHYCR1      0x18    /* PHY Specific control register 1 */
 #define RGEPHY_PHYCR1_MDI_MMCE __BIT(9)
+#define RGEPHY_PHYCR1_ALDPS_EN __BIT(2)
+#define RGEPHY_MII_MACR                0x0d    /* MMD Access control register */
+#define RGEPHY_MACR_FUNCTION   __BITS(15,14)
+#define RGEPHY_MACR_DEVAD      __BITS(4,0)
+#define RGEPHY_MII_MAADR       0x0e    /* MMD Access address data register */
 
 #define RGEPHY_MII_PHYSR       0x1a    /* PHY Specific status register */
 #define RGEPHY_PHYSR_ALDPS     __BIT(14)



Home | Main Index | Thread Index | Old Index