summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-04-23 03:20:56 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-04-23 03:20:56 +0000
commit318dd2444aff05910c0d8cbe786a3fc00db5df29 (patch)
tree0fbc165fcb8096a6fc84b3217f177247ba07b8ef /sys
parenta6a51981b675cc30053179b5b0e30d16ab0597b7 (diff)
add support for RTL8168EP
From Edward O'Callaghan via FreeBSD
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/re.c4
-rw-r--r--sys/dev/ic/rtl81x9reg.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index 384cf6485be..d048671895d 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.151 2014/04/23 02:58:06 jsg Exp $ */
+/* $OpenBSD: re.c,v 1.152 2014/04/23 03:20:55 jsg Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -244,6 +244,7 @@ static const struct re_revision {
{ RL_HWREV_8168DP, "RTL8168DP/8111DP" },
{ RL_HWREV_8168E, "RTL8168E/8111E" },
{ RL_HWREV_8168E_VL, "RTL8168E/8111E-VL" },
+ { RL_HWREV_8168EP, "RTL8168EP/8111EP" },
{ RL_HWREV_8169, "RTL8169" },
{ RL_HWREV_8169_8110SB, "RTL8169/8110SB" },
{ RL_HWREV_8169_8110SBL, "RTL8169SBL" },
@@ -711,6 +712,7 @@ re_attach(struct rl_softc *sc, const char *intrstr)
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO;
break;
+ case RL_HWREV_8168EP:
case RL_HWREV_8168G:
case RL_HWREV_8168G_SPIN4:
case RL_HWREV_8168GU:
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index 1449aff4681..86ea56f25d3 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.82 2014/04/23 02:58:06 jsg Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.83 2014/04/23 03:20:55 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -191,6 +191,7 @@
#define RL_HWREV_8168F 0x48000000
#define RL_HWREV_8411 0x48800000
#define RL_HWREV_8168G 0x4c000000
+#define RL_HWREV_8168EP 0x50000000
#define RL_HWREV_8168GU 0x50800000
#define RL_HWREV_8168G_SPIN4 0x5c800000
#define RL_HWREV_8139 0x60000000