diff options
author | Michal Simek <monstr@monstr.eu> | 2009-11-24 10:22:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-08 10:22:43 -0800 |
commit | e689a0b49fc3ef10f50764bd7e523ae76f849a91 (patch) | |
tree | 6b27ce1187a2242524522377381cd8bcdf91f59c | |
parent | 321cb431c5027d83257d8fbfd957f9d90b469e74 (diff) | |
download | linux-stable-e689a0b49fc3ef10f50764bd7e523ae76f849a91.tar.gz linux-stable-e689a0b49fc3ef10f50764bd7e523ae76f849a91.tar.bz2 linux-stable-e689a0b49fc3ef10f50764bd7e523ae76f849a91.zip |
tty/of_serial: add missing ns16550a id
commit 16173c7c2d79da7eb89b41acfdebd74b130f4339 upstream.
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>
-rw-r--r-- | drivers/serial/of_serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c index 02406ba6da1c..cdf172eda2e3 100644 --- a/drivers/serial/of_serial.c +++ b/drivers/serial/of_serial.c @@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev) 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, }, |