[PATCH] Add re(4) support for integrated RealTek 8168E card (ASUS M4A87TD/USB3).
Tim
Tim
Mon Dec 27 10:15:19 PST 2010
---
sys/dev/netif/re/if_re.c | 4 ++++
sys/dev/netif/re/if_rereg.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/sys/dev/netif/re/if_re.c b/sys/dev/netif/re/if_re.c
index 63a01f2..7b5b4af 100644
--- a/sys/dev/netif/re/if_re.c
+++ b/sys/dev/netif/re/if_re.c
@@ -241,6 +241,10 @@ static const struct re_hwrev re_hwrevs[] = {
RE_C_HWIM | RE_C_HWCSUM | RE_C_MAC2 | RE_C_PHYPMGT |
RE_C_AUTOPAD | RE_C_CONTIGRX | RE_C_STOP_RXTX },
+ { RE_HWREV_8168E, RE_MACVER_25, RE_MTU_6K,
+ RE_C_HWIM | RE_C_HWCSUM | RE_C_MAC2 | RE_C_PHYPMGT |
+ RE_C_AUTOPAD | RE_C_CONTIGRX | RE_C_STOP_RXTX },
+
{ RE_HWREV_8100E, RE_MACVER_UNKN, ETHERMTU,
RE_C_HWCSUM | RE_C_FASTE },
diff --git a/sys/dev/netif/re/if_rereg.h b/sys/dev/netif/re/if_rereg.h
index 390b899..999cf15 100644
--- a/sys/dev/netif/re/if_rereg.h
+++ b/sys/dev/netif/re/if_rereg.h
@@ -157,6 +157,7 @@
#define RE_HWREV_8169SC1 0x18000000
#define RE_HWREV_8102EL 0x24800000
#define RE_HWREV_8168D 0x28000000
+#define RE_HWREV_8168E 0x2C000000
#define RE_HWREV_8168B1 0x30000000
#define RE_HWREV_8100E 0x30800000
#define RE_HWREV_8101E1 0x34000000
--
1.7.0.7
--Boundary_(ID_y33eEjBTB/HHQ/CIJnbMbQ)--
More information about the Submit
mailing list