diff options
author | jfv <jfv@FreeBSD.org> | 2010-11-24 01:13:55 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2010-11-24 01:13:55 +0000 |
commit | 6f432e856e886f7b38ac49d38b49e8afd68ba7fa (patch) | |
tree | 887d696320d435b08a4b0fb6f60451c2497e59d3 | |
parent | b886db4a4b99722a03c2fe8fcaaf203c784dede4 (diff) | |
download | FreeBSD-src-6f432e856e886f7b38ac49d38b49e8afd68ba7fa.zip FreeBSD-src-6f432e856e886f7b38ac49d38b49e8afd68ba7fa.tar.gz |
Add shared code glue for new 82580 devices.
-rw-r--r-- | sys/dev/e1000/e1000_api.c | 2 | ||||
-rw-r--r-- | sys/dev/e1000/e1000_hw.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/e1000/e1000_api.c b/sys/dev/e1000/e1000_api.c index 3ae023c..b3a7ef9 100644 --- a/sys/dev/e1000/e1000_api.c +++ b/sys/dev/e1000/e1000_api.c @@ -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: diff --git a/sys/dev/e1000/e1000_hw.h b/sys/dev/e1000/e1000_hw.h index ca9c97d..e80e870 100644 --- a/sys/dev/e1000/e1000_hw.h +++ b/sys/dev/e1000/e1000_hw.h @@ -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 |