Module Name: src
Committed By: tsutsui
Date: Mon Apr 13 12:38:06 UTC 2009
Modified Files:
src/sys/dev/ic: rtl8169.c
Log Message:
Assume an unknown HWREV chip has the same features with the latest one.
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ic/rtl8169.c
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.115 src/sys/dev/ic/rtl8169.c:1.116
--- src/sys/dev/ic/rtl8169.c:1.115 Mon Apr 13 12:33:05 2009
+++ src/sys/dev/ic/rtl8169.c Mon Apr 13 12:38:06 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.115 2009/04/13 12:33:05 tsutsui Exp $ */
+/* $NetBSD: rtl8169.c,v 1.116 2009/04/13 12:38:06 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.115 2009/04/13 12:33:05 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.116 2009/04/13 12:38:06 tsutsui Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -638,6 +638,9 @@
aprint_normal_dev(sc->sc_dev,
"Unknown revision (0x%08x)\n", hwrev);
sc->sc_rev = 0;
+ /* assume the latest features */
+ sc->sc_quirk |= RTKQ_DESCV2 | RTKQ_NOEECMD;
+ sc->sc_quirk |= RTKQ_NOJUMBO;
}
/* Set RX length mask */