svn commit: r215789 - head/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Wed Nov 24 01:13:55 UTC 2010


Author: jfv
Date: Wed Nov 24 01:13:55 2010
New Revision: 215789
URL: http://svn.freebsd.org/changeset/base/215789

Log:
  Add shared code glue for new 82580 devices.

Modified:
  head/sys/dev/e1000/e1000_api.c
  head/sys/dev/e1000/e1000_hw.h

Modified: head/sys/dev/e1000/e1000_api.c
==============================================================================
--- head/sys/dev/e1000/e1000_api.c	Wed Nov 24 01:03:03 2010	(r215788)
+++ head/sys/dev/e1000/e1000_api.c	Wed Nov 24 01:13:55 2010	(r215789)
@@ -312,6 +312,8 @@ s32 e1000_set_mac_type(struct e1000_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:

Modified: head/sys/dev/e1000/e1000_hw.h
==============================================================================
--- head/sys/dev/e1000/e1000_hw.h	Wed Nov 24 01:03:03 2010	(r215788)
+++ head/sys/dev/e1000/e1000_hw.h	Wed Nov 24 01:13:55 2010	(r215789)
@@ -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


More information about the svn-src-all mailing list