MN10300: Allow KGDB to use the MN10300 serial ports
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:54:32 +0000 (16:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:54:32 +0000 (16:54 +0000)
commit52885b32a5f7326d9505ca45969a695bad2459c4
treea849c4dfad098fc42a9b5b74dcd23931cc662c00
parent5141c46c6137f4866eb5f29e25ed0556bcc4c634
MN10300: Allow KGDB to use the MN10300 serial ports

Allow KGDB to use the MN10300 serial ports through the polled I/O interface
provided via the TTY/serial layer and the kgdboc driver.  This allows the
kernel to be started with something like:

kgdboc=ttySM0,115200

added to the command line.

Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/kernel/mn10300-serial.c