summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 10:31:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 13:34:15 -0700
commit455b4f7e18e741c0603f9030f9a1897f4c5150c1 (patch)
tree73e4ebe545f7b660afe800599eaf3334bf656c81 /include
parente5b1e2062e0535e8ffef79bb34d857e21380d101 (diff)
downloadlinux-455b4f7e18e741c0603f9030f9a1897f4c5150c1.tar.gz
linux-455b4f7e18e741c0603f9030f9a1897f4c5150c1.tar.bz2
linux-455b4f7e18e741c0603f9030f9a1897f4c5150c1.zip
USB: serial: increase the number of devices we support
We had the limit of 255 USB to serial devices on one system for almost 15 years, with no complaints. But now it's time to move on from these tiny "baby" systems, and bump the number up to 512, which should last us a few more years: "512 is a nice number" -- Tobias Winter Note, this is still a static value, and uses up tty core memory with this many tty devices allocated. Converting the driver to use TTY_DRIVER_DYNAMIC_DEV is the next thing to do in order to remove this limitation. Reported-by: Tobias Winter <tobias@linuxdingsda.de> Tested-by: Tobias Winter <tobias@linuxdingsda.de> Reviewed-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/serial.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 9254c80a1cf8..d528b8045150 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -19,9 +19,6 @@
#include <linux/sysrq.h>
#include <linux/kfifo.h>
-#define SERIAL_TTY_MAJOR 188 /* Nice legal number now */
-#define SERIAL_TTY_MINORS 254 /* loads of devices :) */
-
/* The maximum number of ports one device can grab at once */
#define MAX_NUM_PORTS 8