Module Name:    src
Committed By:   tsutsui
Date:           Mon May 11 15:42:34 UTC 2009

Modified Files:
        src/sys/dev/ic: rtl8169.c rtl81x9reg.h

Log Message:
- rename RTK_HWREV_8102EL_SPIN2 -> RTK_HWREV_8103E
- add a HWREV value for 8168DP
Per Realtek's Linux drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.38 -r1.39 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.118 src/sys/dev/ic/rtl8169.c:1.119
--- src/sys/dev/ic/rtl8169.c:1.118	Sun May  3 13:49:07 2009
+++ src/sys/dev/ic/rtl8169.c	Mon May 11 15:42:34 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtl8169.c,v 1.118 2009/05/03 13:49:07 tsutsui Exp $	*/
+/*	$NetBSD: rtl8169.c,v 1.119 2009/05/11 15:42:34 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.118 2009/05/03 13:49:07 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.119 2009/05/11 15:42:34 tsutsui Exp $");
 /* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
 
 /*
@@ -610,7 +610,7 @@
 			break;
 		case RTK_HWREV_8102E:
 		case RTK_HWREV_8102EL:
-		case RTK_HWREV_8102EL_SPIN2:
+		case RTK_HWREV_8103E:
 			sc->sc_quirk |= RTKQ_DESCV2 | RTKQ_NOEECMD |
 			    RTKQ_MACSTAT | RTKQ_CMDSTOP | RTKQ_NOJUMBO;
 			break;

Index: src/sys/dev/ic/rtl81x9reg.h
diff -u src/sys/dev/ic/rtl81x9reg.h:1.38 src/sys/dev/ic/rtl81x9reg.h:1.39
--- src/sys/dev/ic/rtl81x9reg.h:1.38	Wed Apr 29 15:10:57 2009
+++ src/sys/dev/ic/rtl81x9reg.h	Mon May 11 15:42:33 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtl81x9reg.h,v 1.38 2009/04/29 15:10:57 tsutsui Exp $	*/
+/*	$NetBSD: rtl81x9reg.h,v 1.39 2009/05/11 15:42:33 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998
@@ -158,8 +158,9 @@
 #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_8103E		0x24C00000
 #define RTK_HWREV_8168D		0x28000000
+#define RTK_HWREV_8168DP	0x28800000
 #define RTK_HWREV_8168_SPIN1	0x30000000
 #define RTK_HWREV_8100E		0x30800000
 #define RTK_HWREV_8101E		0x34000000

Reply via email to