Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Increase previously added delays from 2us to 10us.



details:   https://anonhg.NetBSD.org/src/rev/fba6afb6bf01
branches:  trunk
changeset: 533347:fba6afb6bf01
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 28 01:10:06 2002 +0000

description:
Increase previously added delays from 2us to 10us.

diffstat:

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

diffs (27 lines):

diff -r 5fe5a4e7c807 -r fba6afb6bf01 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Fri Jun 28 00:55:20 2002 +0000
+++ b/sys/dev/pci/if_bge.c      Fri Jun 28 01:10:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.8 2002/06/28 00:55:20 thorpej Exp $       */
+/*     $NetBSD: if_bge.c,v 1.9 2002/06/28 01:10:06 thorpej Exp $       */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -428,7 +428,7 @@
                val = CSR_READ_4(sc, BGE_MI_COMM);
                if (!(val & BGE_MICOMM_BUSY))
                        break;
-               delay(2);
+               delay(10);
        }
 
        if (i == BGE_TIMEOUT) {
@@ -458,7 +458,7 @@
        for (i = 0; i < BGE_TIMEOUT; i++) {
                if (!(CSR_READ_4(sc, BGE_MI_COMM) & BGE_MICOMM_BUSY))
                        break;
-               delay(2);
+               delay(10);
        }
 
        if (i == BGE_TIMEOUT) {



Home | Main Index | Thread Index | Old Index