0x28000000 is 8168D according to Realtek r8168-8.008.00 driver
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 14 Oct 2008 10:42:35 +0000 (10:42 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 14 Oct 2008 10:42:35 +0000 (10:42 +0000)
sys/dev/netif/re/if_re.c
sys/dev/netif/re/if_rereg.h

index 8488d15..4552e5a 100644 (file)
@@ -33,7 +33,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/dev/re/if_re.c,v 1.25 2004/06/09 14:34:01 naddy Exp $
- * $DragonFly: src/sys/dev/netif/re/if_re.c,v 1.80 2008/10/13 14:10:42 sephe Exp $
+ * $DragonFly: src/sys/dev/netif/re/if_re.c,v 1.81 2008/10/14 10:42:35 sephe Exp $
  */
 
 /*
@@ -232,6 +232,9 @@ static const struct re_hwrev re_hwrevs[] = {
        { RE_HWREV_8168CP,      RE_MACVER_2B,
          RE_C_HWIM | RE_C_JUMBO | RE_C_MAC2 | RE_C_PHYPMGT },
 
+       { RE_HWREV_8168D,       RE_MACVER_2A,
+         RE_C_HWIM | RE_C_JUMBO | RE_C_MAC2 | RE_C_PHYPMGT },
+
        { RE_HWREV_8100E,       RE_MACVER_UNKN,
          RE_C_HWCSUM },
 
@@ -247,9 +250,6 @@ static const struct re_hwrev re_hwrevs[] = {
        { RE_HWREV_8102EL,      RE_MACVER_15,
          RE_C_MAC2 },
 
-       { RE_HWREV_UNKN1,       RE_MACVER_2A,
-         RE_C_MAC2 | RE_C_PHYPMGT },
-
        { RE_HWREV_NULL, 0, 0 }
 };
 
index ae5c4ee..1719cf8 100644 (file)
@@ -33,7 +33,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/pci/if_rlreg.h,v 1.42 2004/05/24 19:39:23 jhb Exp $
- * $DragonFly: src/sys/dev/netif/re/if_rereg.h,v 1.20 2008/10/13 13:04:41 sephe Exp $
+ * $DragonFly: src/sys/dev/netif/re/if_rereg.h,v 1.21 2008/10/14 10:42:35 sephe Exp $
  */
 
 /*
 #define RE_HWREV_8169SB                0x10000000
 #define RE_HWREV_8169SC1       0x18000000
 #define RE_HWREV_8102EL                0x24800000
-#define RE_HWREV_UNKN1         0x28000000
+#define RE_HWREV_8168D         0x28000000
 #define RE_HWREV_8168B1                0x30000000
 #define RE_HWREV_8100E         0x30800000
 #define RE_HWREV_8101E1                0x34000000