summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2016-10-19 08:22:57 +0000
committermsaitoh <msaitoh@NetBSD.org>2016-10-19 08:22:57 +0000
commit55f7e7fbb1d95bf0395245bd628dfd7bd54691ff (patch)
treef51f0066a73750b475d7217b9a3090f914f42258 /sys/dev/mii
parent303518f28c47715e84892a811786f85cefb72633 (diff)
- Drop the host wakeup bit after resetting PHY on PCH and newer devices.
- Increase delay while toggling LANPHYPC
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/inbmphyreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mii/inbmphyreg.h b/sys/dev/mii/inbmphyreg.h
index 2a3334f73f2..b582c74513d 100644
--- a/sys/dev/mii/inbmphyreg.h
+++ b/sys/dev/mii/inbmphyreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: inbmphyreg.h,v 1.5 2016/09/20 09:24:12 msaitoh Exp $ */
+/* $NetBSD: inbmphyreg.h,v 1.6 2016/10/19 08:22:57 msaitoh Exp $ */
/*******************************************************************************
Copyright (c) 2001-2005, Intel Corporation
All rights reserved.
@@ -95,6 +95,8 @@ POSSIBILITY OF SUCH DAMAGE.
#define HV_KMRN_MODE_CTRL BME1000_REG(BM_PORT_CTRL_PAGE, 16)
#define HV_KMRN_MDIO_SLOW 0x0400
+#define BM_PORT_GEN_CFG BME1000_REG(BM_PORT_CTRL_PAGE, 17)
+
#define IGP3_KMRN_DIAG BME1000_REG(770, 19)
#define IGP3_KMRN_DIAG_PCS_LOCK_LOSS (1 << 1)