Author: jhb
Date: Tue Oct 13 12:23:28 2009
New Revision: 198028
URL: http://svn.freebsd.org/changeset/base/198028

Log:
  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.

Modified:
  head/sys/dev/ppbus/lpt.c

Modified: head/sys/dev/ppbus/lpt.c
==============================================================================
--- head/sys/dev/ppbus/lpt.c    Tue Oct 13 10:43:17 2009        (r198027)
+++ head/sys/dev/ppbus/lpt.c    Tue Oct 13 12:23:28 2009        (r198028)
@@ -624,7 +624,7 @@ lptclose(struct cdev *dev, int flags, in
                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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to