Re: [PATCH] Actually hide x86 IDE chipsets on !CONFIG_X86

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Mar 14 2002 - 13:41:01 EST


On Thu, Mar 14, 2002 at 10:24:02AM -0700, Tom Rini wrote:
> On Thu, Mar 14, 2002 at 06:11:06PM +0100, Dave Jones wrote:
> > On Thu, Mar 14, 2002 at 09:50:18AM -0700, Tom Rini wrote:
> > > Hello. The following actually hides x86-specific drivers on
> > > !CONFIG_X86. The problem is that dep_bool '...' CONFIG_FOO $CONFIG_BAR
> > > doesn't have the desired effect if CONFIG_BAR isn't set.
> > >
> > > + if [ "$CONFIG_X86" = "y" ]; then
> > > + bool ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640
> > > + dep_bool ' CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED $CONFIG_BLK_DEV_CMD640
> > > + fi
> >
> > I've a PCI card with one of these. It could in theory work on any arch
> > with a PCI slot.
>
> A 640 and not a 646?

Yes, exactly. I have one on a card as well.

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:18 EST