[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <51A327A4.7020908@linuxdingsda.de>
Date: Mon, 27 May 2013 11:30:12 +0200
From: Tobias Winter <tobias@...uxdingsda.de>
To: linux-usb@...r.kernel.org
CC: Greg KH <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org
Subject: [PATCH] Raise the maximum number of usb-serial devices to 256
Raise the maximum number of usb-serial devices to 256, which is the
actual limit supported by the codebase.
Signed-off-by: Jakob-Tobias Winter <tobias@...uxdingsda.de>
Tested-by: Jakob-Tobias Winter <tobias@...uxdingsda.de>
---
include/linux/usb/serial.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 302ddf5..c0ce5ed 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -20,7 +20,7 @@
#include <linux/kfifo.h>
#define SERIAL_TTY_MAJOR 188 /* Nice legal number now */
-#define SERIAL_TTY_MINORS 254 /* loads of devices :) */
+#define SERIAL_TTY_MINORS 256 /* loads of devices :) */
#define SERIAL_TTY_NO_MINOR 255 /* No minor was assigned */
/* The maximum number of ports one device can grab at once */
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists