Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii Fix previous (s/MII_MAXREGADDR/MII_ADDRMASK/).
details: https://anonhg.NetBSD.org/src/rev/88415dccbcbb
branches: trunk
changeset: 348783:88415dccbcbb
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Nov 07 08:57:43 2016 +0000
description:
Fix previous (s/MII_MAXREGADDR/MII_ADDRMASK/).
diffstat:
sys/dev/mii/igphyreg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 162d67e83a3d -r 88415dccbcbb sys/dev/mii/igphyreg.h
--- a/sys/dev/mii/igphyreg.h Mon Nov 07 05:44:48 2016 +0000
+++ b/sys/dev/mii/igphyreg.h Mon Nov 07 08:57:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igphyreg.h,v 1.9 2016/10/28 05:50:18 msaitoh Exp $ */
+/* $NetBSD: igphyreg.h,v 1.10 2016/11/07 08:57:43 msaitoh Exp $ */
/*******************************************************************************
@@ -166,7 +166,7 @@
*/
#define IGP3_PAGE_SHIFT 5
#define IGP3_REG(page, reg) \
- (((page) << IGP3_PAGE_SHIFT) | ((reg) & MII_MAXREGADDR))
+ (((page) << IGP3_PAGE_SHIFT) | ((reg) & MII_ADDRMASK))
#define IGP3_VR_CTRL IGP3_REG(776, 18)
#define IGP3_VR_CTRL_DEV_POWERDOWN_MODE_MASK 0x0300
Home |
Main Index |
Thread Index |
Old Index