Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2006 18:06:32 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 105472 for review
Message-ID:  <200609011806.k81I6W8T087303@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105472

Change 105472 by hselasky@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;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609011806.k81I6W8T087303>