Ask for SERIAL_TXX9 only on those devices that actually have one.

 arch/mips/Kconfig      |    2 ++
 drivers/serial/Kconfig |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

Index: linux-2.6.11-rc2/drivers/serial/Kconfig
===================================================================
--- linux-2.6.11-rc2.orig/drivers/serial/Kconfig        2005-01-29 
03:18:00.000000000 +0100
+++ linux-2.6.11-rc2/drivers/serial/Kconfig     2005-01-30 01:10:46.426853785 
+0100
@@ -794,8 +794,12 @@
 
 config SERIAL_TXX9
        bool "TMPTX39XX/49XX SIO support"
-       depends on MIPS || PCI
+       depends HAS_TXX9_SERIAL
        select SERIAL_CORE
+       default y
+
+config HAS_TXX9_SERIAL
+       bool
 
 config SERIAL_TXX9_CONSOLE
        bool "TMPTX39XX/49XX SIO Console support"
Index: linux-2.6.11-rc2/arch/mips/Kconfig
===================================================================
--- linux-2.6.11-rc2.orig/arch/mips/Kconfig     2005-01-30 00:45:48.808734334 
+0100
+++ linux-2.6.11-rc2/arch/mips/Kconfig  2005-01-30 01:00:55.533811631 +0100
@@ -848,6 +848,7 @@
        bool "Support for Toshiba TBTX49[23]7 board"
        depends on MIPS32
        select DMA_NONCOHERENT
+       select HAS_TXX9_SERIAL
        select HW_HAS_PCI
        select I8259
        select ISA
@@ -970,6 +971,7 @@
 config MIPS_TX3927
        bool
        depends on TOSHIBA_JMR3927
+       select HAS_TXX9_SERIAL
        default y
 
 config PCI_MARVELL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to