summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2015-10-23 08:40:34 +0000
committermsaitoh <msaitoh@NetBSD.org>2015-10-23 08:40:34 +0000
commit61e71b016cf771eb025d7b334fa3997a58693f70 (patch)
tree03f38019534d9045129c6e5009943b12d1f4281b /sys/dev
parent80e6e0c1bd8842b9660eae7c6710f84124b2395b (diff)
- PSCR_TP_LOOPBACK is not bit 0 but bit 4. No binary change because
this macro is not used. - Rename MII_IGPPHY_PORT_CONFIG's bit definitions from PSCR_ to PSCFR_ to avoid confusion. PSCR_ is for MII_IGPHY_PORT_CTRL.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/igphyreg.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/mii/igphyreg.h b/sys/dev/mii/igphyreg.h
index 6e4aefe9633..e722ddafe49 100644
--- a/sys/dev/mii/igphyreg.h
+++ b/sys/dev/mii/igphyreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: igphyreg.h,v 1.6 2010/03/07 09:05:19 msaitoh Exp $ */
+/* $NetBSD: igphyreg.h,v 1.7 2015/10/23 08:40:34 msaitoh Exp $ */
/*******************************************************************************
@@ -42,14 +42,14 @@
* IGP01E1000 Specific Registers
*/
-/* IGP01E1000 Specific Port Control Register - R/W */
+/* IGP01E1000 Specific Port Config Register - R/W */
#define MII_IGPPHY_PORT_CONFIG 0x10 /* PHY specific config register */
-#define PSCR_AUTO_MDIX_PAR_DETECT 0x0010
-#define PSCR_PRE_EN 0x0020
-#define PSCR_SMART_SPEED 0x0080
-#define PSCR_DISABLE_TPLOOPBACK 0x0100
-#define PSCR_DISABLE_JABBER 0x0400
-#define PSCR_DISABLE_TRANSMIT 0x2000
+#define PSCFR_AUTO_MDIX_PAR_DETECT 0x0010
+#define PSCFR_PRE_EN 0x0020
+#define PSCFR_SMART_SPEED 0x0080
+#define PSCFR_DISABLE_TPLOOPBACK 0x0100
+#define PSCFR_DISABLE_JABBER 0x0400
+#define PSCFR_DISABLE_TRANSMIT 0x2000
/* IGP01E1000 Specific Port Status Register - R/O */
#define MII_IGPHY_PORT_STATUS 0x11
@@ -68,7 +68,7 @@
/* IGP01E1000 Specific Port Control Register - R/W */
#define MII_IGPHY_PORT_CTRL 0x12
-#define PSCR_TP_LOOPBACK 0x0001
+#define PSCR_TP_LOOPBACK 0x0010
#define PSCR_CORRECT_NC_SCMBLR 0x0200
#define PSCR_TEN_CRS_SELECT 0x0400
#define PSCR_FLIP_CHIP 0x0800