USB: cdc-acm: add support for up to 256 devices
authorJohan Hovold <johan@kernel.org>
Mon, 18 May 2015 15:34:12 +0000 (17:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 16:30:03 +0000 (09:30 -0700)
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>
drivers/usb/class/cdc-acm.h

index ffeb3c8..a9e68ce 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #define ACM_TTY_MAJOR          166
-#define ACM_TTY_MINORS         32
+#define ACM_TTY_MINORS         256
 
 /*
  * Requests.