瀏覽代碼

USB: cdc-acm: add support for up to 256 devices

Increase the minor range to enable support for up to 256 devices.

Some people are hitting the current 32 device limit. Hopefully 256
minors will be enough for while still.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Johan Hovold 10 年之前
父節點
當前提交
65c35dd590
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/class/cdc-acm.h

+ 1 - 1
drivers/usb/class/cdc-acm.h

@@ -19,7 +19,7 @@
  */
 
 #define ACM_TTY_MAJOR		166
-#define ACM_TTY_MINORS		32
+#define ACM_TTY_MINORS		256
 
 /*
  * Requests.