diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-02-10 10:45:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:27 +0100 |
commit | 138c5d258cf06c278f5d7fe0a806e50fe413a08f (patch) | |
tree | 86bd8700b12519a4dc4efc33ccddd0a1c743fd67 /drivers/serial/Kconfig | |
parent | [PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc(). (diff) | |
download | linux-138c5d258cf06c278f5d7fe0a806e50fe413a08f.tar.xz linux-138c5d258cf06c278f5d7fe0a806e50fe413a08f.zip |
[PATCH] serial: serial_txx9 driver update
Update the serial_txx9 driver.
* Configurable manumum port number. (SERIAL_TXX9_NR_UARTS)
* Remove some code which is unneeded if CONFIG_PM=n.
* Use PCI_DEVICE() for pci device id table and make it const.
* Do not include <asm/irq.h>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 2978c09860ee..5cc6b91f8408 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -916,6 +916,11 @@ config SERIAL_TXX9 config HAS_TXX9_SERIAL bool +config SERIAL_TXX9_NR_UARTS + int "Maximum number of TMPTX39XX/49XX SIO ports" + depends on SERIAL_TXX9 + default "6" + config SERIAL_TXX9_CONSOLE bool "TMPTX39XX/49XX SIO Console support" depends on SERIAL_TXX9=y |