diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-11-30 14:54:20 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-11-30 14:54:20 -0800 |
| commit | 09785355a29fc1316655725a3c4a2638e44330b6 (patch) | |
| tree | c6a8c76e3ef485d63d92c797bdb05f4b9542573d /tty.current | |
| parent | b88a5d79af4ecc5c3f4667548c98dcc059c0edab (diff) | |
| download | patches-09785355a29fc1316655725a3c4a2638e44330b6.tar.gz | |
more bugfixes
Diffstat (limited to 'tty.current')
| -rw-r--r-- | tty.current/tty-of_serial-add-missing-ns16550a-id.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tty.current/tty-of_serial-add-missing-ns16550a-id.patch b/tty.current/tty-of_serial-add-missing-ns16550a-id.patch new file mode 100644 index 00000000000000..e36be32aa7da97 --- /dev/null +++ b/tty.current/tty-of_serial-add-missing-ns16550a-id.patch @@ -0,0 +1,35 @@ +From arnd@arndb.de Mon Nov 30 14:37:06 2009 +From: Michal Simek <monstr@monstr.eu> +Date: Tue, 24 Nov 2009 10:22:41 +0000 +Subject: tty/of_serial: add missing ns16550a id +To: greg@kroah.com, devicetree-discuss@lists.ozlabs.org +Cc: grant.likely@secretlab.ca, john.williams@petalogix.com, Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> +Message-ID: <200911241022.41078.arnd@arndb.de> + + +From: Michal Simek <monstr@monstr.eu> + +Many boards have a bug-free ns16550 compatible serial port, which we should +register as PORT_16550A. This introduces a new value "ns16550a" for the +compatible property of of_serial to let a firmware choose that model instead +of using the crippled PORT_16550 mode. + +Reported-by: Alon Ziv <alonz@nolaviz.org> +Signed-off-by: Michal Simek <monstr@monstr.eu> +Signed-off-by: Arnd Bergmann <arnd@arndb.de> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/serial/of_serial.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/serial/of_serial.c ++++ b/drivers/serial/of_serial.c +@@ -161,6 +161,7 @@ static int of_platform_serial_remove(str + static struct of_device_id __devinitdata of_platform_serial_table[] = { + { .type = "serial", .compatible = "ns8250", .data = (void *)PORT_8250, }, + { .type = "serial", .compatible = "ns16450", .data = (void *)PORT_16450, }, ++ { .type = "serial", .compatible = "ns16550a", .data = (void *)PORT_16550A, }, + { .type = "serial", .compatible = "ns16550", .data = (void *)PORT_16550, }, + { .type = "serial", .compatible = "ns16750", .data = (void *)PORT_16750, }, + { .type = "serial", .compatible = "ns16850", .data = (void *)PORT_16850, }, |
