mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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.
This commit is contained in:
parent
fe1b9e2ada
commit
9599da5de8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198028
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user