summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/brgphyreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-04-29 19:47:13 +0000
committerjhb <jhb@FreeBSD.org>2008-04-29 19:47:13 +0000
commit2d6dc5656db05bc330ff1c4cd89fbdabff2d60ee (patch)
tree8a76a259ced13a663ee1f130b73a000124e45cba /sys/dev/mii/brgphyreg.h
parent23778603b066d609033f1c376b6088ed0b935225 (diff)
downloadFreeBSD-src-2d6dc5656db05bc330ff1c4cd89fbdabff2d60ee.zip
FreeBSD-src-2d6dc5656db05bc330ff1c4cd89fbdabff2d60ee.tar.gz
Add support for the BCM5906[M] adapters. These adapters only support
10/100 operation and place the mailbox registers at a different offset. They also do not have an EEPROM, so the MAC address must be read from NVRAM instead. MFC after: 1 month PR: kern/118975 Submitted by: benjsc, Thomas Nyström thn at saeab dot se Submitted by: sephe (original patch for DragonflyBSD)
Diffstat (limited to 'sys/dev/mii/brgphyreg.h')
-rw-r--r--sys/dev/mii/brgphyreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mii/brgphyreg.h b/sys/dev/mii/brgphyreg.h
index a80942f..643655f 100644
--- a/sys/dev/mii/brgphyreg.h
+++ b/sys/dev/mii/brgphyreg.h
@@ -161,6 +161,7 @@
#define BRGPHY_MII_DSP_RW_PORT 0x15 /* DSP coefficient r/w port */
#define BRGPHY_MII_DSP_ADDR_REG 0x17 /* DSP coefficient addr register */
+#define BRGPHY_MII_EPHY_PTEST 0x17 /* 5906 PHY register */
#define BRGPHY_DSP_TAP_NUMBER_MASK 0x00
#define BRGPHY_DSP_AGC_A 0x00
OpenPOWER on IntegriCloud