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 macros
details: https://anonhg.NetBSD.org/src/rev/1b7ec14fe18e
branches: trunk
changeset: 750746:1b7ec14fe18e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 12 21:48:26 2010 +0000
description:
Add some macros
diffstat:
sys/dev/mii/igphyreg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r b96be08d3586 -r 1b7ec14fe18e sys/dev/mii/igphyreg.h
--- a/sys/dev/mii/igphyreg.h Tue Jan 12 21:25:03 2010 +0000
+++ b/sys/dev/mii/igphyreg.h Tue Jan 12 21:48:26 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igphyreg.h,v 1.4 2005/12/11 12:22:42 christos Exp $ */
+/* $NetBSD: igphyreg.h,v 1.5 2010/01/12 21:48:26 msaitoh Exp $ */
/*******************************************************************************
@@ -103,6 +103,8 @@
#define MSE_CHANNEL_A 0xF000
#define MII_IGPHY_PAGE_SELECT 0x1F
+#define IGPHY_MAXREGADDR 0x1F
+#define IGPHY_PAGEMASK (~IGPHY_MAXREGADDR)
/* IGP01E1000 AGC Registers - stores the cable length values*/
#define MII_IGPHY_AGC_A 0x1172
Home |
Main Index |
Thread Index |
Old Index