summaryrefslogtreecommitdiffstats
path: root/sys/dev/msk/if_mskreg.h
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-04-30 18:58:55 +0000
committeryongari <yongari@FreeBSD.org>2010-04-30 18:58:55 +0000
commit7a0b6f8a32672cdf476aaff405247a7f4a38d97e (patch)
tree23c6257c679ff60ea3d99cacf673d808a6926c83 /sys/dev/msk/if_mskreg.h
parent90bf77c71267bf38221fa717f6fac628910d2a8e (diff)
downloadFreeBSD-src-7a0b6f8a32672cdf476aaff405247a7f4a38d97e.zip
FreeBSD-src-7a0b6f8a32672cdf476aaff405247a7f4a38d97e.tar.gz
Add basic support for Marvell 88E8059 Yukon Optima.
Tested by: James LaLagna < jameslalagna <> gmail dot com > MFC after: 5 days
Diffstat (limited to 'sys/dev/msk/if_mskreg.h')
-rw-r--r--sys/dev/msk/if_mskreg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/msk/if_mskreg.h b/sys/dev/msk/if_mskreg.h
index 3e8ae47..3b05b9b 100644
--- a/sys/dev/msk/if_mskreg.h
+++ b/sys/dev/msk/if_mskreg.h
@@ -145,6 +145,7 @@
#define DEVICEID_MRVL_436B 0x436B
#define DEVICEID_MRVL_436C 0x436C
#define DEVICEID_MRVL_4380 0x4380
+#define DEVICEID_MRVL_4381 0x4381
/*
* D-Link gigabit ethernet device ID
@@ -828,6 +829,9 @@
#define Y2_IS_CHK_RX2 BIT_10 /* Descriptor error Rx 2 */
#define Y2_IS_CHK_TXS2 BIT_9 /* Descriptor error TXS 2 */
#define Y2_IS_CHK_TXA2 BIT_8 /* Descriptor error TXA 2 */
+#define Y2_IS_PSM_ACK BIT_7 /* PSM Ack (Yukon Optima) */
+#define Y2_IS_PTP_TIST BIT_6 /* PTP TIme Stamp (Yukon Optima) */
+#define Y2_IS_PHY_QLNK BIT_5 /* PHY Quick Link (Yukon Optima) */
#define Y2_IS_IRQ_PHY1 BIT_4 /* Interrupt from PHY 1 */
#define Y2_IS_IRQ_MAC1 BIT_3 /* Interrupt from MAC 1 */
#define Y2_IS_CHK_RX1 BIT_2 /* Descriptor error Rx 1 */
@@ -894,6 +898,8 @@
#define CHIP_ID_YUKON_FE_P 0xb8 /* Chip ID for YUKON-2 FE+ */
#define CHIP_ID_YUKON_SUPR 0xb9 /* Chip ID for YUKON-2 Supreme */
#define CHIP_ID_YUKON_UL_2 0xba /* Chip ID for YUKON-2 Ultra 2 */
+#define CHIP_ID_YUKON_UNKNOWN 0xbb
+#define CHIP_ID_YUKON_OPT 0xbc /* Chip ID for YUKON-2 Optima */
#define CHIP_REV_YU_XL_A0 0 /* Chip Rev. for Yukon-2 A0 */
#define CHIP_REV_YU_XL_A1 1 /* Chip Rev. for Yukon-2 A1 */
OpenPOWER on IntegriCloud