ref: 6b999263ae69d64870a8bf02a06c1f707a73a7e0
parent: 7dab4923247b4d07e63bdea80f6063a778d07d12
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Aug 10 21:32:24 EDT 2017
kernel: double READSTR buffer size to 8000 bytes for devusb
--- a/sys/src/9/port/portdat.h
+++ b/sys/src/9/port/portdat.h
@@ -785,7 +785,7 @@
NUMSIZE = 12, /* size of formatted number */
MB = (1024*1024),
/* READSTR was 1000, which is way too small for usb's ctl file */
- READSTR = 4000, /* temporary buffer size for device reads */
+ READSTR = 8000, /* temporary buffer size for device reads */
};
extern Conf conf;