Add additional Marvell PHY registers.
This commit is contained in:
parent
938beb1599
commit
eafc9368bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165097
@ -236,6 +236,14 @@
|
|||||||
#define E1000_SCR_TX_FIFO_DEPTH_10 0x8000
|
#define E1000_SCR_TX_FIFO_DEPTH_10 0x8000
|
||||||
#define E1000_SCR_TX_FIFO_DEPTH_12 0xC000
|
#define E1000_SCR_TX_FIFO_DEPTH_12 0xC000
|
||||||
|
|
||||||
|
#define E1000_SCR_EN_DETECT_MASK 0x0300
|
||||||
|
|
||||||
|
/* 88E1112 page 2 */
|
||||||
|
#define E1000_SCR_MODE_MASK 0x0380
|
||||||
|
#define E1000_SCR_MODE_AUTO 0x0180
|
||||||
|
#define E1000_SCR_MODE_COPPER 0x0280
|
||||||
|
#define E1000_SCR_MODE_1000BX 0x0380
|
||||||
|
|
||||||
#define E1000_SSR 0x11 /* special status register */
|
#define E1000_SSR 0x11 /* special status register */
|
||||||
#define E1000_SSR_JABBER 0x0001
|
#define E1000_SSR_JABBER 0x0001
|
||||||
#define E1000_SSR_REV_POLARITY 0x0002
|
#define E1000_SSR_REV_POLARITY 0x0002
|
||||||
@ -286,6 +294,8 @@
|
|||||||
|
|
||||||
#define E1000_RECR 0x15 /* RX error counter reg */
|
#define E1000_RECR 0x15 /* RX error counter reg */
|
||||||
|
|
||||||
|
#define E1000_EADR 0x16 /* extended address reg */
|
||||||
|
|
||||||
#define E1000_LCR 0x18 /* LED control reg */
|
#define E1000_LCR 0x18 /* LED control reg */
|
||||||
#define E1000_LCR_LED_TX 0x0001
|
#define E1000_LCR_LED_TX 0x0001
|
||||||
#define E1000_LCR_LED_RX 0x0002
|
#define E1000_LCR_LED_RX 0x0002
|
||||||
|
Loading…
Reference in New Issue
Block a user