Module Name: src
Committed By: tsutsui
Date: Mon Apr 13 12:33:05 UTC 2009
Modified Files:
src/sys/dev/ic: rtl8169.c rtl81x9reg.h
Log Message:
Add HWREV of RTL8102EL variant. From FUKAUMI Naoki.
To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/rtl81x9reg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/rtl8169.c
diff -u src/sys/dev/ic/rtl8169.c:1.114 src/sys/dev/ic/rtl8169.c:1.115
--- src/sys/dev/ic/rtl8169.c:1.114 Mon Apr 13 12:28:46 2009
+++ src/sys/dev/ic/rtl8169.c Mon Apr 13 12:33:05 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.114 2009/04/13 12:28:46 tsutsui Exp $ */
+/* $NetBSD: rtl8169.c,v 1.115 2009/04/13 12:33:05 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.114 2009/04/13 12:28:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.115 2009/04/13 12:33:05 tsutsui Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -623,6 +623,7 @@
break;
case RTK_HWREV_8102E:
case RTK_HWREV_8102EL:
+ case RTK_HWREV_8102EL_SPIN2:
sc->sc_rev = 25;
sc->sc_quirk |=
RTKQ_DESCV2 | RTKQ_NOEECMD | RTKQ_NOJUMBO;
Index: src/sys/dev/ic/rtl81x9reg.h
diff -u src/sys/dev/ic/rtl81x9reg.h:1.36 src/sys/dev/ic/rtl81x9reg.h:1.37
--- src/sys/dev/ic/rtl81x9reg.h:1.36 Mon Apr 13 12:28:46 2009
+++ src/sys/dev/ic/rtl81x9reg.h Mon Apr 13 12:33:05 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9reg.h,v 1.36 2009/04/13 12:28:46 tsutsui Exp $ */
+/* $NetBSD: rtl81x9reg.h,v 1.37 2009/04/13 12:33:05 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -158,6 +158,7 @@
#define RTK_HWREV_8169_8110SB 0x10000000
#define RTK_HWREV_8169_8110SC 0x18000000
#define RTK_HWREV_8102EL 0x24800000
+#define RTK_HWREV_8102EL_SPIN2 0x24C00000
#define RTK_HWREV_8168D 0x28000000
#define RTK_HWREV_8168_SPIN1 0x30000000
#define RTK_HWREV_8100E 0x30800000