summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/jmphyreg.h
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-12-18 23:52:50 +0000
committeryongari <yongari@FreeBSD.org>2010-12-18 23:52:50 +0000
commitb52a1b882d10997e24ae7e5a9eebb4967b9cdf11 (patch)
tree5b530523b866e864753791f3f6a60d3de5cc22b6 /sys/dev/mii/jmphyreg.h
parentf652d40af333a97c256711fc5b849806fa38861b (diff)
downloadFreeBSD-src-b52a1b882d10997e24ae7e5a9eebb4967b9cdf11.zip
FreeBSD-src-b52a1b882d10997e24ae7e5a9eebb4967b9cdf11.tar.gz
Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet
controller with Card Read Host Controller. These controllers are multi-function devices and have the same ethernet core of JMC250/JMC260. Starting from REVFM 5(chip full mask revision) controllers have the following features. o eFuse support o PCD(Packet Completion Deferring) o More advanced PHY power saving Because these controllers started to use eFuse, station address modified by driver is permanent as if it was written to EEPROM. If you have to change station address please save your controller default address to safe place before reprogramming it. There is no way to restore factory default station address. Many thanks to JMicron for continuing to support FreeBSD. HW donated by: JMicron
Diffstat (limited to 'sys/dev/mii/jmphyreg.h')
-rw-r--r--sys/dev/mii/jmphyreg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/mii/jmphyreg.h b/sys/dev/mii/jmphyreg.h
index 743ae29..ec668ad 100644
--- a/sys/dev/mii/jmphyreg.h
+++ b/sys/dev/mii/jmphyreg.h
@@ -105,4 +105,13 @@
#define JMPHY_TMCTL 0x1A
#define JMPHY_TMCTL_SLEEP_ENB 0x1000
+/* PHY specific configuration register. */
+#define JMPHY_SPEC_ADDR 0x1E
+#define JMPHY_SPEC_ADDR_READ 0x4000
+#define JMPHY_SPEC_ADDR_WRITE 0x8000
+
+#define JMPHY_SPEC_DATA 0x1F
+
+#define JMPHY_EXT_COMM_2 0x32
+
#endif /* _DEV_MII_JMPHYREG_H_ */
OpenPOWER on IntegriCloud