summaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-13 00:34:19 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 09:05:49 -0800
commitfb0c9295b81f5c7f51058aabfadd13d8e70b48f4 (patch)
tree0da52641ef141ca361a4ad0cea19831b1c6f7cb0 /drivers/char/Kconfig
parenta3808ac156f503dd2a00a059d9ff4677ce75244f (diff)
downloadblackbird-op-linux-fb0c9295b81f5c7f51058aabfadd13d8e70b48f4.tar.gz
blackbird-op-linux-fb0c9295b81f5c7f51058aabfadd13d8e70b48f4.zip
[PATCH] mxser_new: fix non-PCI build
When CONFIG_PCI is not defined (i.e. PCI bus is disabled), the mxser_new driver fails to link, since some pci functions are not available. Fix this behaviour to be able to compile this driver on machines with no PCI bus (but with ISA bus support). Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 91133bea8ca0..b1c07ed3cb93 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -203,7 +203,7 @@ config MOXA_SMARTIO
config MOXA_SMARTIO_NEW
tristate "Moxa SmartIO support v. 2.0 (EXPERIMENTAL)"
- depends on SERIAL_NONSTANDARD
+ depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
help
Say Y here if you have a Moxa SmartIO multiport serial card and/or
want to help develop a new version of this driver.
OpenPOWER on IntegriCloud