0369c360e5
The debug polling interface for the SoC serial ports did not work in the case where the serial ports were not also used as a console. In that case, the uart driver startup function will not be called so tx and rx would not be enabled in the hardware control register. Also, vdma interrupts would not be enabled which the poll_get_char function relied on. This patch makes sure that the rx and tx enables are set as a consequence of the uart set_termios call which is the only initialization done for the debug polling interface. Also, the poll_get_char now handles the case where vdma interrupts are not enabled. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
cevt-mn10300.c | ||
csrc-mn10300.c | ||
entry.S | ||
fpu-low.S | ||
fpu-nofpu-low.S | ||
fpu-nofpu.c | ||
fpu.c | ||
gdb-io-serial-low.S | ||
gdb-io-serial.c | ||
gdb-io-ttysm-low.S | ||
gdb-io-ttysm.c | ||
gdb-low.S | ||
gdb-stub.c | ||
head.S | ||
internal.h | ||
io.c | ||
irq.c | ||
kgdb.c | ||
kprobes.c | ||
Makefile | ||
mn10300_ksyms.c | ||
mn10300-debug.c | ||
mn10300-serial-low.S | ||
mn10300-serial.c | ||
mn10300-serial.h | ||
mn10300-watchdog-low.S | ||
mn10300-watchdog.c | ||
module.c | ||
process.c | ||
profile-low.S | ||
profile.c | ||
ptrace.c | ||
rtc.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
smp-low.S | ||
smp.c | ||
switch_to.S | ||
sys_mn10300.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |