diff options
Diffstat (limited to 'drivers/net/e1000e/defines.h')
-rw-r--r-- | drivers/net/e1000e/defines.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/e1000e/defines.h b/drivers/net/e1000e/defines.h index e301e26d6897..4dc02c71ffd6 100644 --- a/drivers/net/e1000e/defines.h +++ b/drivers/net/e1000e/defines.h | |||
@@ -138,6 +138,11 @@ | |||
138 | /* Enable MNG packets to host memory */ | 138 | /* Enable MNG packets to host memory */ |
139 | #define E1000_MANC_EN_MNG2HOST 0x00200000 | 139 | #define E1000_MANC_EN_MNG2HOST 0x00200000 |
140 | 140 | ||
141 | #define E1000_MANC2H_PORT_623 0x00000020 /* Port 0x26f */ | ||
142 | #define E1000_MANC2H_PORT_664 0x00000040 /* Port 0x298 */ | ||
143 | #define E1000_MDEF_PORT_623 0x00000800 /* Port 0x26f */ | ||
144 | #define E1000_MDEF_PORT_664 0x00000400 /* Port 0x298 */ | ||
145 | |||
141 | /* Receive Control */ | 146 | /* Receive Control */ |
142 | #define E1000_RCTL_EN 0x00000002 /* enable */ | 147 | #define E1000_RCTL_EN 0x00000002 /* enable */ |
143 | #define E1000_RCTL_SBP 0x00000004 /* store bad packet */ | 148 | #define E1000_RCTL_SBP 0x00000004 /* store bad packet */ |
@@ -214,6 +219,8 @@ | |||
214 | #define E1000_CTRL_SPD_1000 0x00000200 /* Force 1Gb */ | 219 | #define E1000_CTRL_SPD_1000 0x00000200 /* Force 1Gb */ |
215 | #define E1000_CTRL_FRCSPD 0x00000800 /* Force Speed */ | 220 | #define E1000_CTRL_FRCSPD 0x00000800 /* Force Speed */ |
216 | #define E1000_CTRL_FRCDPX 0x00001000 /* Force Duplex */ | 221 | #define E1000_CTRL_FRCDPX 0x00001000 /* Force Duplex */ |
222 | #define E1000_CTRL_LANPHYPC_OVERRIDE 0x00010000 /* SW control of LANPHYPC */ | ||
223 | #define E1000_CTRL_LANPHYPC_VALUE 0x00020000 /* SW value of LANPHYPC */ | ||
217 | #define E1000_CTRL_SWDPIN0 0x00040000 /* SWDPIN 0 value */ | 224 | #define E1000_CTRL_SWDPIN0 0x00040000 /* SWDPIN 0 value */ |
218 | #define E1000_CTRL_SWDPIN1 0x00080000 /* SWDPIN 1 value */ | 225 | #define E1000_CTRL_SWDPIN1 0x00080000 /* SWDPIN 1 value */ |
219 | #define E1000_CTRL_SWDPIO0 0x00400000 /* SWDPIN 0 Input or output */ | 226 | #define E1000_CTRL_SWDPIO0 0x00400000 /* SWDPIN 0 Input or output */ |
@@ -622,6 +629,8 @@ | |||
622 | #define NVM_ALT_MAC_ADDR_PTR 0x0037 | 629 | #define NVM_ALT_MAC_ADDR_PTR 0x0037 |
623 | #define NVM_CHECKSUM_REG 0x003F | 630 | #define NVM_CHECKSUM_REG 0x003F |
624 | 631 | ||
632 | #define E1000_NVM_INIT_CTRL2_MNGM 0x6000 /* Manageability Operation Mode mask */ | ||
633 | |||
625 | #define E1000_NVM_CFG_DONE_PORT_0 0x40000 /* MNG config cycle done */ | 634 | #define E1000_NVM_CFG_DONE_PORT_0 0x40000 /* MNG config cycle done */ |
626 | #define E1000_NVM_CFG_DONE_PORT_1 0x80000 /* ...for second port */ | 635 | #define E1000_NVM_CFG_DONE_PORT_1 0x80000 /* ...for second port */ |
627 | 636 | ||