git: 9front

Download patch

ref: 9d991515ed645ab4e649289ee8d6e8fe8bbcc119
parent: 45eb4badf0e28feda4f9d1d7117286f46eb028f5
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;
--