From: Johan Hovold Date: Thu, 2 Mar 2017 11:51:17 +0000 (+0100) Subject: USB: serial: allow up to 16 ports per device X-Git-Tag: v4.12-rc1~97^2~9^2~52 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff0c5703a4b11fca86886e5b7ce40c396bef8381;p=karo-tx-linux.git 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 --- 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 /* 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))