projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc47ce9
)
m68k/serial: SERIAL_PORT_DFNS only if CONFIG_ISA
author
Kars de Jong
<jongk@linux-m68k.org>
Tue, 18 Nov 2008 20:22:22 +0000
(21:22 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sat, 10 Dec 2011 18:52:45 +0000
(19:52 +0100)
Only define SERIAL_PORT_DFNS when CONFIG_ISA is defined. Otherwise the first
4 slots in the 8250 driver are unavailable on non-ISA machines.
Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/serial.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/m68k/include/asm/serial.h
b/arch/m68k/include/asm/serial.h
index 2b90d6e690700ba66e85370268b0aa2284794043..7267536adbcc48d01b0afee6f7d1741bc6c24b42 100644
(file)
--- a/
arch/m68k/include/asm/serial.h
+++ b/
arch/m68k/include/asm/serial.h
@@
-25,9
+25,11
@@
#define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF
#endif
+#ifdef CONFIG_ISA
#define SERIAL_PORT_DFNS \
/* UART CLK PORT IRQ FLAGS */ \
{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */ \
{ 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */ \
{ 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \
{ 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */
+#endif
This page took
0.024459 seconds
and
5
git commands to generate.