aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/serial.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-02 12:51:17 +0100
committerJohan Hovold <johan@kernel.org>2017-03-16 10:33:40 +0100
commitff0c5703a4b11fca86886e5b7ce40c396bef8381 (patch)
tree130d3982a3491f00384e958dda192baeaa2e8d38 /include/linux/usb/serial.h
parentUSB: serial: refactor and clean up endpoint handling (diff)
downloadlinux-dev-ff0c5703a4b11fca86886e5b7ce40c396bef8381.tar.xz
linux-dev-ff0c5703a4b11fca86886e5b7ce40c396bef8381.zip
USB: serial: allow up to 16 ports per device
Raise the arbitrary limit of how many ports a single device can claim from eight to 16. This specifically enables the upper eight ports of some mxuport devices. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/usb/serial.h')
-rw-r--r--include/linux/usb/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 85b475933848..ee4394d8932f 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -20,7 +20,7 @@
#include <linux/kfifo.h>
/* The maximum number of ports one device can grab at once */
-#define MAX_NUM_PORTS 8
+#define MAX_NUM_PORTS 16
/* parity check flag */
#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))