From aed615a95f6dcc243daa99cc80658ad9ada95097 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Mon, 9 Jan 2006 20:51:39 -0800 Subject: [PATCH] [PATCH] Disable rio on 64-bit platforms Do it via Kconfig rather than via #error. Signed-off-by: Alexey Dobriyan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/Kconfig | 2 +- drivers/char/rio/rio_linux.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 77286eb582..977a74e16e 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -290,7 +290,7 @@ config SX config RIO tristate "Specialix RIO system support" - depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP + depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && !64BIT help This is a driver for the Specialix RIO, a smart serial card which drives an outboard box that can support up to 128 ports. Product diff --git a/drivers/char/rio/rio_linux.c b/drivers/char/rio/rio_linux.c index d7d484024e..2611b15b6b 100644 --- a/drivers/char/rio/rio_linux.c +++ b/drivers/char/rio/rio_linux.c @@ -56,10 +56,6 @@ #include #include -#if BITS_PER_LONG != 32 -# error FIXME: this driver only works on 32-bit platforms -#endif - #include "linux_compat.h" #include "typdef.h" #include "pkt.h" -- 2.39.5