On Sun, Jan 30, 2000 at 02:42:39PM -0500, Brian Dean wrote:
>
>
>For what its worth, I am able to reproduce this problem on my system.

Would you mind trying this patch before I send it to Jordan?

Index: lpt.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ppbus/lpt.c,v
retrieving revision 1.13
diff -u -r1.13 lpt.c
--- lpt.c       2000/01/25 22:23:47     1.13
+++ lpt.c       2000/02/02 23:10:36
@@ -865,12 +865,12 @@
 
                /*
                 * No more data waiting for printer.
-                * Wakeup is not done if write call was interrupted.
+                * Wakeup is not done if write call was not interrupted.
                 */
                sc->sc_state &= ~OBUSY;
 
                if(!(sc->sc_state & INTERRUPTED))
-                       wakeup((caddr_t)sc);
+                       wakeup((caddr_t)lptdev);
                lprintf(("w "));
                return;
        } else  {       /* check for error */

-- 
[EMAIL PROTECTED] / [EMAIL PROTECTED]
FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to