projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e782401
)
serial-uartlite: Enlarge maximum nr of devices to 16.
author
Maarten Brock
<m.brock@vanmierlo.com>
Tue, 16 Feb 2016 17:59:01 +0000
(18:59 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000
(16:11 -0800)
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>
drivers/tty/serial/uartlite.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/uartlite.c
b/drivers/tty/serial/uartlite.c
index
ee2e8ef
..
91f31ca
100644
(file)
--- a/
drivers/tty/serial/uartlite.c
+++ b/
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