diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2013-03-07 06:19:08 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2013-03-07 06:19:08 +0000 |
commit | 1f76887d6028fbd1d6b40e0dec5a4565645c0f1e (patch) | |
tree | affcbb437dffc7c5b3a99133f0e5f2497101fdc6 | |
parent | c7bdddb2a3490629db0021e1400ad7bc8ef9635c (diff) |
Correct the delay when programming the short cable fix. It should be
100us, not 100ms.
From FreeBSD
ok chris@
-rw-r--r-- | sys/dev/pci/if_sis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c index 75fc6bf749b..f1017b95b3d 100644 --- a/sys/dev/pci/if_sis.c +++ b/sys/dev/pci/if_sis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sis.c,v 1.108 2013/02/09 19:15:18 sthen Exp $ */ +/* $OpenBSD: if_sis.c,v 1.109 2013/03/07 06:19:07 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -1751,7 +1751,7 @@ sis_init(void *xsc) CSR_WRITE_4(sc, NS_PHY_PAGE, 0x0001); reg = CSR_READ_4(sc, NS_PHY_DSPCFG) & 0xfff; CSR_WRITE_4(sc, NS_PHY_DSPCFG, reg | 0x1000); - DELAY(100000); + DELAY(100); reg = CSR_READ_4(sc, NS_PHY_TDATA) & 0xff; if ((reg & 0x0080) == 0 || (reg > 0xd8 && reg <= 0xff)) { #ifdef DEBUG |