From 6b999263ae69d64870a8bf02a06c1f707a73a7e0 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 11 Aug 2017 01:32:24 +0200 Subject: kernel: double READSTR buffer size to 8000 bytes for devusb --- sys/src/9/port/portdat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/port/portdat.h b/sys/src/9/port/portdat.h index 66db9f441..34e6a7d3f 100644 --- a/sys/src/9/port/portdat.h +++ b/sys/src/9/port/portdat.h @@ -785,7 +785,7 @@ enum 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; -- cgit v1.2.3