mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Add shared code glue for new 82580 devices.
This commit is contained in:
parent
43b98c2b52
commit
ffdb071a24
2 changed files with 4 additions and 0 deletions
|
|
@ -312,6 +312,8 @@ s32 e1000_set_mac_type(struct e1000_hw *hw)
|
|||
case E1000_DEV_ID_82580_SGMII:
|
||||
case E1000_DEV_ID_82580_COPPER_DUAL:
|
||||
case E1000_DEV_ID_82580_QUAD_FIBER:
|
||||
case E1000_DEV_ID_DH89XXCC_SGMII:
|
||||
case E1000_DEV_ID_DH89XXCC_SERDES:
|
||||
mac->type = e1000_82580;
|
||||
break;
|
||||
case E1000_DEV_ID_82576_VF:
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ struct e1000_hw;
|
|||
#define E1000_DEV_ID_82580_SGMII 0x1511
|
||||
#define E1000_DEV_ID_82580_COPPER_DUAL 0x1516
|
||||
#define E1000_DEV_ID_82580_QUAD_FIBER 0x1527
|
||||
#define E1000_DEV_ID_DH89XXCC_SGMII 0x0436
|
||||
#define E1000_DEV_ID_DH89XXCC_SERDES 0x0438
|
||||
#define E1000_REVISION_0 0
|
||||
#define E1000_REVISION_1 1
|
||||
#define E1000_REVISION_2 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue