Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Added RTL8168E/8111E-VL support.
details: https://anonhg.NetBSD.org/src/rev/c0f00a9002a7
branches: trunk
changeset: 777724:c0f00a9002a7
user: nonaka <nonaka%NetBSD.org@localhost>
date: Fri Mar 02 16:23:40 2012 +0000
description:
Added RTL8168E/8111E-VL support.
diffstat:
sys/dev/ic/rtl8169.c | 8 ++++++--
sys/dev/ic/rtl81x9reg.h | 3 ++-
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 1c658e2d798b -r c0f00a9002a7 sys/dev/ic/rtl8169.c
--- a/sys/dev/ic/rtl8169.c Fri Mar 02 16:22:27 2012 +0000
+++ b/sys/dev/ic/rtl8169.c Fri Mar 02 16:23:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.134 2011/11/22 18:42:56 garbled Exp $ */
+/* $NetBSD: rtl8169.c,v 1.135 2012/03/02 16:23:40 nonaka Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.134 2011/11/22 18:42:56 garbled Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.135 2012/03/02 16:23:40 nonaka Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -606,6 +606,10 @@
RTKQ_MACSTAT | RTKQ_CMDSTOP | RTKQ_PHYWAKE_PM |
RTKQ_NOJUMBO;
break;
+ case RTK_HWREV_8168E_VL:
+ sc->sc_quirk |= RTKQ_DESCV2 | RTKQ_NOEECMD |
+ RTKQ_MACSTAT | RTKQ_CMDSTOP | RTKQ_NOJUMBO;
+ break;
case RTK_HWREV_8100E:
case RTK_HWREV_8100E_SPIN2:
case RTK_HWREV_8101E:
diff -r 1c658e2d798b -r c0f00a9002a7 sys/dev/ic/rtl81x9reg.h
--- a/sys/dev/ic/rtl81x9reg.h Fri Mar 02 16:22:27 2012 +0000
+++ b/sys/dev/ic/rtl81x9reg.h Fri Mar 02 16:23:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9reg.h,v 1.42 2011/11/22 18:42:57 garbled Exp $ */
+/* $NetBSD: rtl81x9reg.h,v 1.43 2012/03/02 16:23:40 nonaka Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -163,6 +163,7 @@
#define RTK_HWREV_8168D 0x28000000
#define RTK_HWREV_8168DP 0x28800000
#define RTK_HWREV_8168E 0x2C000000
+#define RTK_HWREV_8168E_VL 0x2C800000
#define RTK_HWREV_8168_SPIN1 0x30000000
#define RTK_HWREV_8100E 0x30800000
#define RTK_HWREV_8101E 0x34000000
Home |
Main Index |
Thread Index |
Old Index