Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Don't warn about DMA timeout during probe.



details:   https://anonhg.NetBSD.org/src/rev/7389b92090d9
branches:  trunk
changeset: 753465:7389b92090d9
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Mar 29 15:51:03 2010 +0000

description:
Don't warn about DMA timeout during probe.

diffstat:

 sys/dev/ic/ne2000.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9ef28225454c -r 7389b92090d9 sys/dev/ic/ne2000.c
--- a/sys/dev/ic/ne2000.c       Mon Mar 29 15:44:53 2010 +0000
+++ b/sys/dev/ic/ne2000.c       Mon Mar 29 15:51:03 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ne2000.c,v 1.71 2010/03/19 14:26:37 tsutsui Exp $      */
+/*     $NetBSD: ne2000.c,v 1.72 2010/03/29 15:51:03 tsutsui Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.71 2010/03/19 14:26:37 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.72 2010/03/29 15:51:03 tsutsui Exp $");
 
 #include "opt_ipkdb.h"
 
@@ -484,7 +484,7 @@
         * then we don't know what this board is.
         */
        ne2000_writemem(nict, nich, asict, asich, test_pattern, 16384,
-           sizeof(test_pattern), useword, 0);
+           sizeof(test_pattern), useword, 1);
        ne2000_readmem(nict, nich, asict, asich, 16384, test_buffer,
            sizeof(test_buffer), useword);
 



Home | Main Index | Thread Index | Old Index