lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 14/15] misc: Configurable number of supported IDE interfaces
    On Fri, Nov 11, 2005 at 06:34:27PM +0100, Roman Zippel wrote:
    > Hi,
    >
    > On Fri, 11 Nov 2005, Matt Mackall wrote:
    >
    > > It's intentional. The current CONFIG_IDE_MAX_HWIFS is a hidden
    > > variable that sets a per architecture maximum. To the best of my
    > > knowledge, there's no way to do, say:
    > >
    > > default 4 if ARCH_FOO
    > > default 1 if ARCH_BAR
    > >
    > > ..so I'm stuck with using two config symbols anyway.
    >
    > Where is the problem? This should work fine.

    Does it? Didn't work when last I checked (which was a while ago).

    > With the latest kernel you can even use a dynamic range:
    >
    > config IDE_HWIFS
    > int "..."
    > range 1 IDE_MAX_HWIFS

    But this suggests a good reason to hold on to both variables.

    --
    Mathematics is the supreme nostalgia of our time.
    -
    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/

    \
     
     \ /
      Last update: 2005-11-11 18:40    [W:0.021 / U:9.424 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site