Browse Source

serial-uartlite: Enlarge maximum nr of devices to 16.

This device is ideal to use when you need a lot of uarts in your FPGA.
Try not to force all those users to patch their kernel.

Signed-off-by: Maarten Brock <m.brock@vanmierlo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Maarten Brock 9 năm trước cách đây
mục cha
commit
acf5e6c889
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/tty/serial/uartlite.c

+ 1 - 1
drivers/tty/serial/uartlite.c

@@ -28,7 +28,7 @@
 #define ULITE_NAME		"ttyUL"
 #define ULITE_MAJOR		204
 #define ULITE_MINOR		187
-#define ULITE_NR_UARTS		4
+#define ULITE_NR_UARTS		16
 
 /* ---------------------------------------------------------------------
  * Register definitions