Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib/netif use biosdelay instead of adhoc...
details: https://anonhg.NetBSD.org/src/rev/3a5ad9799c69
branches: trunk
changeset: 517124:3a5ad9799c69
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Nov 07 08:46:24 2001 +0000
description:
use biosdelay instead of adhoc loop.
diffstat:
sys/arch/i386/stand/lib/netif/ne.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (23 lines):
diff -r 3d62a57b8e99 -r 3a5ad9799c69 sys/arch/i386/stand/lib/netif/ne.c
--- a/sys/arch/i386/stand/lib/netif/ne.c Wed Nov 07 08:43:32 2001 +0000
+++ b/sys/arch/i386/stand/lib/netif/ne.c Wed Nov 07 08:46:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ne.c,v 1.3 2001/11/03 12:02:28 yamt Exp $ */
+/* $NetBSD: ne.c,v 1.4 2001/11/07 08:46:24 yamt Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -84,12 +84,7 @@
#define NE_16BIT
-void DELAY(x)
-{
- int i, y=0;
-
- for (i=0; i<x; i++) {y++;}
-}
+#define DELAY(x) delay(x)
#define ASIC_PORT(x) (NE_ASIC_BASEREG + (x))
#define ASIC_INB(x) inb(ASIC_PORT(x))
- Prev by Date:
[src/trunk]: src/sys/net Sync with IANA. This finally gets us IFT_ECONET.
- Next by Date:
[src/trunk]: src/share/man/man4 - Add adv, adw, iha, mesh, osiop, pcscp and t...
- Previous by Thread:
[src/trunk]: src/sys/net Sync with IANA. This finally gets us IFT_ECONET.
- Next by Thread:
[src/trunk]: src/share/man/man4 - Add adv, adw, iha, mesh, osiop, pcscp and t...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index