All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Adrian Bunk <bunk@stusta.de>,
	Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: [PATCH] Fix SERIAL_TXX9 dependencies
Date: Sun, 30 Jan 2005 00:15:55 +0000	[thread overview]
Message-ID: <20050130001555.GA3648@linux-mips.org> (raw)
In-Reply-To: <20050129231255.GA3185@stusta.de>

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

  parent reply	other threads:[~2005-01-30  0:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29 21:11 2.6.11-rc2-mm2 Andrew Morton
2005-01-29 22:52 ` 2.6.11-rc2-mm2 Brice Goglin
2005-01-29 23:10 ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-29 23:56   ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-29 23:12 ` [patch 2.6.11-rc2-mm2] fix SERIAL_TXX9 dependencies Adrian Bunk
2005-01-29 23:16   ` Ralf Baechle
2005-01-30  0:15   ` Ralf Baechle [this message]
2005-01-30 13:05     ` [PATCH] Fix " Atsushi Nemoto
2005-01-30 15:45       ` Arnd Bergmann
2005-01-30 16:58         ` Ralf Baechle
2005-01-31  1:04           ` Atsushi Nemoto
2005-01-31 20:23           ` Arnd Bergmann
2005-01-31 20:53             ` Ralf Baechle
2005-01-31 21:29               ` Arnd Bergmann
2005-02-01  0:50             ` Atsushi Nemoto
2005-01-30 16:49       ` Ralf Baechle
2005-01-30  0:58 ` 2.6.11-rc2-mm2 - "freeing b_committed_data" Nathan Lynch
2005-01-30  1:06   ` Andrew Morton
2005-01-30  6:20 ` 2.6.11-rc2-mm2 Andrew Nelson
2005-01-30 11:03   ` 2.6.11-rc2-mm2 Rafael J. Wysocki
2005-01-31 21:15 ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-01-31 21:46   ` 2.6.11-rc2-mm2 Laurent Riffard
2005-02-01  1:26     ` 2.6.11-rc2-mm2 Jim Nelson
2005-02-01 17:25     ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-02-01  9:17 ` 2.6.11-rc2-mm2 Nick Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050130001555.GA3648@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=akpm@osdl.org \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.