Module Name:    src
Committed By:   msaitoh
Date:           Tue Jan 12 21:48:26 UTC 2010

Modified Files:
        src/sys/dev/mii: igphyreg.h

Log Message:
Add some macros


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/mii/igphyreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/mii/igphyreg.h
diff -u src/sys/dev/mii/igphyreg.h:1.4 src/sys/dev/mii/igphyreg.h:1.5
--- src/sys/dev/mii/igphyreg.h:1.4	Sun Dec 11 12:22:42 2005
+++ src/sys/dev/mii/igphyreg.h	Tue Jan 12 21:48:26 2010
@@ -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

Reply via email to