summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-03-06 17:18:43 +0000
committermycroft <mycroft@NetBSD.org>1994-03-06 17:18:43 +0000
commit0c082bcaf80b70abc2db85ab68cedaaac230bfdb (patch)
tree7398643ba3714b66260ed339d5ecedb44b7a4cbc /sys/dev/ata
parenta199f44684d3f9699cbd4710682265e20ae1eb51 (diff)
DELAY() --> delay(). This is not a macro.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 1827cc45ac8..fb81ff91aea 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.60 1994/03/05 08:17:06 mycroft Exp $
+ * $Id: wd.c,v 1.61 1994/03/06 17:19:19 mycroft Exp $
*/
#define QUIETWORKS /* define this to make wdopen() set DKFL_QUIET */
@@ -1465,9 +1465,9 @@ wdreset(du, err)
/* reset the device */
outb(wdc+wd_ctlr, WDCTL_RST | WDCTL_IDS);
- DELAY(1000);
+ delay(1000);
outb(wdc+wd_ctlr, WDCTL_IDS);
- DELAY(1000);
+ delay(1000);
(void) inb(wdc+wd_error);
outb(wdc+wd_ctlr, WDCTL_4BIT);
@@ -1490,7 +1490,7 @@ wdc_wait(du, mask)
break;
if (++timeout > WDCNDELAY)
return -1;
- DELAY(WDCDELAY);
+ delay(WDCDELAY);
}
#ifdef WDCNDELAY_DEBUG
if (timeout > WDCNDELAY_DEBUG)