PERFORCE change 105472 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Sep 1 18:06:33 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105472
Change 105472 by hselasky at hselasky_mini_itx on 2006/09/01 18:06:17
Most of the ucom-configuration is done asynchronously,
so stopping and starting the read transfer will
become a NOP. Comment out that code.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/ucom.c#6 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/ucom.c#6 (text+ko) ====
@@ -534,9 +534,11 @@
return 0;
}
+#if 0
if (sc->sc_callback->ucom_stop_read) {
(sc->sc_callback->ucom_stop_read)(sc);
}
+#endif
error = (sc->sc_callback->ucom_param)(sc, t);
if (error) {
@@ -555,9 +557,11 @@
ttyldoptim(tp);
+#if 0
if (sc->sc_callback->ucom_start_read) {
(sc->sc_callback->ucom_start_read)(sc);
}
+#endif
return 0;
}
More information about the p4-projects
mailing list