[openfirmware] [commit] r3517 - dev/usb2/device/serial

repository service svn at openfirmware.info
Fri Jan 11 08:23:08 CET 2013


Author: quozl
Date: Fri Jan 11 08:23:07 2013
New Revision: 3517
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3517

Log:
usbserial - start the read again next time the device is opened, fixes re-use of USB serial devices by applications, without this change the read path yields no data on subsequent open because the bulk in is not set up.

Modified:
   dev/usb2/device/serial/uart.fth

Modified: dev/usb2/device/serial/uart.fth
==============================================================================
--- dev/usb2/device/serial/uart.fth	Tue Jan  8 06:07:44 2013	(r3516)
+++ dev/usb2/device/serial/uart.fth	Fri Jan 11 08:23:07 2013	(r3517)
@@ -60,6 +60,7 @@
       rts-dtr-off
       end-bulk-in
       free-buf
+      false to read-started?
    then
 ;
 



More information about the openfirmware mailing list