Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/imcsmb Fix total timeout amount - since we decrement...
details: https://anonhg.NetBSD.org/src/rev/1d056d70694b
branches: trunk
changeset: 359855:1d056d70694b
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Feb 27 05:56:12 2018 +0000
description:
Fix total timeout amount - since we decrement by 10 every 10 usec, we
need 35000 usec to equal 35ms.
diffstat:
sys/dev/imcsmb/imcsmb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e0ad71b06218 -r 1d056d70694b sys/dev/imcsmb/imcsmb.c
--- a/sys/dev/imcsmb/imcsmb.c Tue Feb 27 05:55:08 2018 +0000
+++ b/sys/dev/imcsmb/imcsmb.c Tue Feb 27 05:56:12 2018 +0000
@@ -370,7 +370,7 @@
/* Wait for WRITE_DATA_DONE/READ_DATA_VALID to be set, or timeout and
* fail. We wait up to 35ms.
*/
- for (i = 3500; i != 0; i -= 10)
+ for (i = 35000; i != 0; i -= 10)
{
delay(10);
stat_val = pci_conf_read(sc->sc_pci_chipset_tag,
Home |
Main Index |
Thread Index |
Old Index