summaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-13 00:34:20 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 09:05:49 -0800
commit3468a33e98524a7661a158251b10cea7c9fafece (patch)
tree4ba528780a725ef10285ce274c692402afa896f1 /drivers/char/Kconfig
parentfb0c9295b81f5c7f51058aabfadd13d8e70b48f4 (diff)
downloadkernel-crypto-3468a33e98524a7661a158251b10cea7c9fafece.tar.gz
kernel-crypto-3468a33e98524a7661a158251b10cea7c9fafece.tar.xz
kernel-crypto-3468a33e98524a7661a158251b10cea7c9fafece.zip
[PATCH] sx: fix non-PCI build
When CONFIG_PCI is not defined (i.e. PCI bus is disabled), the sx 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 b1c07ed3cb9..08761998668 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -312,7 +312,7 @@ config SPECIALIX_RTSCTS
config SX
tristate "Specialix SX (and SI) card support"
- depends on SERIAL_NONSTANDARD
+ depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
help
This is a driver for the SX and SI multiport serial cards.
Please read the file <file:Documentation/sx.txt> for details.