summaryrefslogtreecommitdiff
path: root/sys/dev/mii/brgphyreg.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-04-26 21:26:43 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-04-26 21:26:43 +0000
commit098d59e6fd1c5402c7400866d0b275efe074545d (patch)
tree3ec83b0de79e10c7b0b04218f4fac37720f8dca6 /sys/dev/mii/brgphyreg.h
parent95640319444d841f50b02ef8d23f918ffe3d55ef (diff)
Adjust the output voltage for BCM5906 PHY otherwise it might not be
possible to obtain a link under some circumstances which are unknown at the moment. From the Linux tg3 driver. Issue reported by Kamil Andrusz <wizz at mniam dot net> ok kettenis@
Diffstat (limited to 'sys/dev/mii/brgphyreg.h')
-rw-r--r--sys/dev/mii/brgphyreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphyreg.h b/sys/dev/mii/brgphyreg.h
index 37b4731a159..2f1edbfb76e 100644
--- a/sys/dev/mii/brgphyreg.h
+++ b/sys/dev/mii/brgphyreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphyreg.h,v 1.10 2008/03/21 21:29:21 brad Exp $ */
+/* $OpenBSD: brgphyreg.h,v 1.11 2008/04/26 21:26:42 brad Exp $ */
/*
* Copyright (c) 2000
@@ -162,6 +162,7 @@
#define BRGPHY_MII_DSP_RW_PORT 0x15 /* DSP coefficient r/w port */
+#define BRGPHY_MII_EPHY_PTEST 0x17 /* 5906 PHY register */
#define BRGPHY_MII_DSP_ADDR_REG 0x17 /* DSP coefficient addr register */
#define BRGPHY_DSP_TAP_NUMBER_MASK 0x00