diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-02-26 08:39:24 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-02-26 08:39:24 +0000 |
commit | 910c87343a87703c9bfa36c0136ea1509d009b5a (patch) | |
tree | d75e381427c1fad90bb092ae85429710fcd5507d | |
parent | ba05d8de9966c5deb1852d10a1e327738ba6a277 (diff) | |
download | FreeBSD-src-910c87343a87703c9bfa36c0136ea1509d009b5a.zip FreeBSD-src-910c87343a87703c9bfa36c0136ea1509d009b5a.tar.gz |
Remove call to DELAY() from xl_wait(), since xl_wait() is in the
interrupt handler codepath. Having the delay there didn't really
accomplish much anyway.
-rw-r--r-- | sys/pci/if_xl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 25475eb..217d90b 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.23 1999/02/01 21:25:52 wpaul Exp $ + * $Id: if_xl.c,v 1.24 1999/02/11 23:59:29 wpaul Exp $ */ /* @@ -147,7 +147,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.23 1999/02/01 21:25:52 wpaul Exp $"; + "$Id: if_xl.c,v 1.24 1999/02/11 23:59:29 wpaul Exp $"; #endif /* @@ -257,7 +257,6 @@ 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; } |