diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-03-02 02:25:40 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-03-02 02:25:40 +0000 |
commit | 847420149994c5fe74608997a001e58bbecc7955 (patch) | |
tree | ebc45b971cc4d96e984bb6f85d8cc656876f4ee6 /sys/dev/pci | |
parent | 5d169cd986e0f7b53e77b1f67989c53b0cded91f (diff) |
put the DELAY back into xl_wait()
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_xl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_xl.c b/sys/dev/pci/if_xl.c index 98243000795..74b73e9a874 100644 --- a/sys/dev/pci/if_xl.c +++ b/sys/dev/pci/if_xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl.c,v 1.21 1999/02/27 23:54:42 jason Exp $ */ +/* $OpenBSD: if_xl.c,v 1.22 1999/03/02 02:25:39 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -314,6 +314,7 @@ static void xl_wait(sc) register int i; for (i = 0; i < XL_TIMEOUT; i++) { + DELAY(10); if (!(CSR_READ_2(sc, XL_STATUS) & XL_STAT_CMDBUSY)) break; } |