summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/lpt.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-10-13 12:23:28 +0000
committerjhb <jhb@FreeBSD.org>2009-10-13 12:23:28 +0000
commita6604fc63e78aaec31716d1ec574c43245b9167f (patch)
treec3b8e413ade450264efd45a7a18557d4d435b380 /sys/dev/ppbus/lpt.c
parent5fb061243494555b20aefbfbed583679cb425381 (diff)
downloadFreeBSD-src-a6604fc63e78aaec31716d1ec574c43245b9167f.zip
FreeBSD-src-a6604fc63e78aaec31716d1ec574c43245b9167f.tar.gz
Correct a copy/paste bug in a comment. lptclose() checks once a second to
see if the ppc hardware has gone idle rather than four times a second.
Diffstat (limited to 'sys/dev/ppbus/lpt.c')
-rw-r--r--sys/dev/ppbus/lpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index 77ebaea..56b4378 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -624,7 +624,7 @@ lptclose(struct cdev *dev, int flags, int fmt, struct thread *td)
while ((ppb_rstr(ppbus) &
(LPS_SEL|LPS_OUT|LPS_NBSY|LPS_NERR)) !=
(LPS_SEL|LPS_NBSY|LPS_NERR) || sc->sc_xfercnt)
- /* wait 1/4 second, give up if we get a signal */
+ /* wait 1 second, give up if we get a signal */
if (ppb_sleep(ppbus, lptdev, LPPRI | PCATCH, "lpclose",
hz) != EWOULDBLOCK)
break;
OpenPOWER on IntegriCloud