summaryrefslogtreecommitdiff
path: root/sys/dev/ic/lpt.c
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/ic/lpt.c
parenta199f44684d3f9699cbd4710682265e20ae1eb51 (diff)
DELAY() --> delay(). This is not a macro.
Diffstat (limited to 'sys/dev/ic/lpt.c')
-rw-r--r--sys/dev/ic/lpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/lpt.c b/sys/dev/ic/lpt.c
index 192dbca2837..2c0d1cdac60 100644
--- a/sys/dev/ic/lpt.c
+++ b/sys/dev/ic/lpt.c
@@ -46,7 +46,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: lpt.c,v 1.13 1994/02/19 03:36:12 mycroft Exp $
+ * $Id: lpt.c,v 1.14 1994/03/06 17:19:11 mycroft Exp $
*/
/*
@@ -144,7 +144,7 @@ lpt_port_test(port, data, mask)
outb(port, data);
timeout = 1000;
do {
- DELAY(10);
+ delay(10);
temp = inb(port) & mask;
} while (temp != data && --timeout);
lprintf("lpt: port=0x%x out=0x%x in=0x%x timeout=%d\n", port, data,
@@ -292,7 +292,7 @@ lptopen(dev, flag)
if ((flags & LPT_NOPRIME) == 0) {
/* assert INIT for 100 usec to start up printer */
outb(iobase + lpt_control, LPC_SELECT);
- DELAY(100);
+ delay(100);
}
control = LPC_SELECT | LPC_NINIT;