tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USB printing panic
Can you try something like this?
Martin
Index: ulpt.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ulpt.c,v
retrieving revision 1.85
diff -u -p -r1.85 ulpt.c
--- ulpt.c 3 Nov 2010 22:34:24 -0000 1.85
+++ ulpt.c 10 Feb 2011 09:33:25 -0000
@@ -656,7 +656,7 @@ ulptclose(dev_t dev, int flag, int mode,
if (sc->sc_has_callout) {
DPRINTFN(2, ("ulptclose: stopping read callout\n"));
- callout_stop(&sc->sc_read_callout);
+ callout_halt(&sc->sc_read_callout, NULL);
sc->sc_has_callout = 0;
}
Home |
Main Index |
Thread Index |
Old Index