aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-10-13 12:23:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-10-13 12:23:28 +0000
commit9599da5de85ceb6a067810985b1e35255e6d8912 (patch)
treec3b8e413ade450264efd45a7a18557d4d435b380
parentfe1b9e2ada099961279042e5c3f3741c82d0c800 (diff)
downloadsrc-9599da5de85ceb6a067810985b1e35255e6d8912.tar.gz
src-9599da5de85ceb6a067810985b1e35255e6d8912.zip
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.
Notes
Notes: svn path=/head/; revision=198028
-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 77ebaea561f5..56b437884017 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;