summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-05-18 17:34:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 18:30:03 +0200
commit65c35dd59002798cc87212d23ff3c87fd3a5d721 (patch)
treeda727bb6c04d3f22862b1a4ca6c1e79cb2270bcd /drivers/usb
parentUSB: cdc-acm: use idr to manage minor numbers (diff)
downloadlinux-65c35dd59002798cc87212d23ff3c87fd3a5d721.tar.xz
linux-65c35dd59002798cc87212d23ff3c87fd3a5d721.zip
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/cdc-acm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index ffeb3c83941f..a9e68ce25425 100644
--- a/drivers/usb/class/cdc-acm.h
+++ b/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.