summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-11-30 06:01:46 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-11-30 06:01:46 +0000
commit81e99ea4046f9227c18228e9b391182aab996cf3 (patch)
tree290f311b7b1c635319f6da38447b88b40d8b32b9 /sys/dev
parentf63b25c505305422aaf0aac21e3e2c92adbe668c (diff)
Add initial 8168D/8111D support.
Diffstat (limited to 'sys/dev')
-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 bad424cda22..a4372dea972 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.102 2008/11/28 02:44:17 brad Exp $ */
+/* $OpenBSD: re.c,v 1.103 2008/11/30 06:01:45 brad Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -230,6 +230,7 @@ static const struct re_revision {
{ RL_HWREV_8168C, "RTL8168C/8111C" },
{ RL_HWREV_8168C_SPIN2, "RTL8168C/8111C" },
{ RL_HWREV_8168CP, "RTL8168CP/8111CP" },
+ { RL_HWREV_8168D, "RTL8168D/8111D" },
{ RL_HWREV_8169, "RTL8169" },
{ RL_HWREV_8169_8110SB, "RTL8169/8110SB" },
{ RL_HWREV_8169_8110SBL, "RTL8169SBL" },
@@ -865,6 +866,7 @@ re_attach(struct rl_softc *sc, const char *intrstr)
case RL_HWREV_8168C:
case RL_HWREV_8168C_SPIN2:
case RL_HWREV_8168CP:
+ case RL_HWREV_8168D:
sc->rl_flags |= RL_FLAG_INVMAR | RL_FLAG_PHYWAKE |
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
RL_FLAG_HWIM;
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index b88a1ce4d00..95a9612936f 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.58 2008/11/08 06:52:49 brad Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.59 2008/11/30 06:01:45 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -163,6 +163,7 @@
#define RL_HWREV_8169_8110SB 0x10000000
#define RL_HWREV_8169_8110SCd 0x18000000
#define RL_HWREV_8102EL 0x24800000
+#define RL_HWREV_8168D 0x28000000
#define RL_HWREV_8168_SPIN1 0x30000000
#define RL_HWREV_8100E_SPIN1 0x30800000
#define RL_HWREV_8101E 0x34000000