From: Ralf Baechle <ralf@linux-mips.org>
To: Christoph Egger <siccegge@cs.fau.de>
Cc: Shane McDonald <mcdonald.shane@gmail.com>,
linux-mips@linux-mips.org, linux-kernel@vger.kernel.org,
vamos@i4.informatik.uni-erlangen.de
Subject: Re: [PATCH 5/9] Removing dead CONFIG_BLK_DEV_IDE
Date: Mon, 5 Jul 2010 09:14:02 +0100 [thread overview]
Message-ID: <20100705081402.GB740@linux-mips.org> (raw)
In-Reply-To: <20100616113548.GA10065@faui48a.informatik.uni-erlangen.de>
On Wed, Jun 16, 2010 at 01:35:48PM +0200, Christoph Egger wrote:
> On Thu, Jun 10, 2010 at 12:23:06PM -0600, Shane McDonald wrote:
> > I wonder if, instead of deleting the code, the constant should be
> > changed from CONFIG_BLK_DEV_IDE to CONFIG_IDE. The original
> > patch that removed CONFIG_BLK_DEV_IDE seemed to make this change:
> > http://kerneltrap.org/mailarchive/linux-kernel/2008/8/13/2929444
> >
> > Shane
>
> You're probably right, updated patch below
>
> -------
> From: Christoph Egger <siccegge@cs.fau.de>
> Date: Mon, 7 Jun 2010 17:29:48 +0200
> Subject: [PATCH 5/9] Removing dead CONFIG_BLK_DEV_IDE
>
> CONFIG_BLK_DEV_IDE doesn't exist in Kconfig, therefore removing all
> references for it from the source code.
>
> Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
> ---
> diff --git a/arch/mips/mti-malta/malta-setup.c
> b/arch/mips/mti-malta/malta-setup.c
> index b7f37d4..f6a5ea8 100644
> --- a/arch/mips/mti-malta/malta-setup.c
> +++ b/arch/mips/mti-malta/malta-setup.c
> @@ -105,7 +105,7 @@ static void __init fd_activate(void)
> }
> #endif
>
> -#ifdef CONFIG_BLK_DEV_IDE
> +#ifdef CONFIG_IDE
This doesn't fly too well either. CONFIG_BLK_DEV_IDE was a bool but
CONFIG_IDE is tristate. But changing the ifdef to
#if defined(CONFIG_IDE) || defined(CONFIG_IDE_MODULE)
wouldn't really work either. I think this needs some generic infrastructure
to get the PCI clock.
Or maybe this is just another reason to scrap IDE support.
Ralf
next prev parent reply other threads:[~2010-07-05 8:14 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 11:19 [PATCH 0/9] Removing dead code Christoph Egger
2010-06-09 11:20 ` [PATCH 1/9] Removing dead CONFIG_SOC_AU1000_FREQUENCY Christoph Egger
2010-06-28 13:36 ` Ralf Baechle
2010-06-09 11:20 ` [PATCH 2/9] Removing dead CONFIG_GDB_CONSOLE Christoph Egger
2010-06-09 16:54 ` David Daney
2010-06-28 13:42 ` Ralf Baechle
2010-06-09 11:21 ` [PATCH 3/9] Removing dead CONFIG_SIBYTE_BCM1480_PROF Christoph Egger
2010-06-16 16:00 ` Jiri Kosina
2010-06-28 13:49 ` Ralf Baechle
2010-06-30 9:36 ` Jiri Kosina
2010-06-30 13:35 ` Maciej W. Rozycki
2010-06-30 13:38 ` Jiri Kosina
2010-06-30 15:15 ` Ralf Baechle
2010-06-09 11:21 ` [PATCH 4/9] Removing dead CONFIG_MTD_PB1550_BOOT, CONFIG_MTD_PB1550_USER Christoph Egger
2010-06-30 15:37 ` Ralf Baechle
2010-06-09 11:21 ` [PATCH 5/9] Removing dead CONFIG_BLK_DEV_IDE Christoph Egger
2010-06-10 18:23 ` Shane McDonald
2010-06-16 11:35 ` Christoph Egger
2010-07-05 8:14 ` Ralf Baechle [this message]
2010-06-09 11:22 ` [PATCH 6/9] Removing dead CONFIG_I2C_PNX0105 Christoph Egger
2010-06-09 11:47 ` Manuel Lauss
2010-07-05 8:57 ` Ralf Baechle
2010-06-09 11:22 ` [PATCH 7/9] Removing dead CONFIG_PMCTWILED Christoph Egger
2010-06-10 19:24 ` Shane McDonald
2010-07-05 9:11 ` Ralf Baechle
2010-06-09 11:23 ` [PATCH 8/9] Removing dead CONFIG_DIAGNOSTICS Christoph Egger
2010-07-05 9:46 ` Ralf Baechle
2010-06-09 11:23 ` [PATCH 9/9] Removing dead CONFIG_MTD_PMC_MSP_RAMROOT Christoph Egger
2010-06-10 16:33 ` Shane McDonald
2010-07-05 9:57 ` Ralf Baechle
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=20100705081402.GB740@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=mcdonald.shane@gmail.com \
--cc=siccegge@cs.fau.de \
--cc=vamos@i4.informatik.uni-erlangen.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).