[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <996E281D-DE15-451A-955D-FB9C0C23DA54@kernel.crashing.org>
Date: Thu, 10 May 2007 20:41:53 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Simon Horman <horms@...ge.net.au>
Cc: Timur Tabi <timur@...escale.com>,
Kim Phillips <kim.phillips@...escale.com>,
Linux Kernel list <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
Roman Zippel <zippel@...ux-m68k.org>,
Johannes Berg <johannes@...solutions.net>,
Sam Ravnborg <sam@...nborg.org>
Subject: Re: Kconfig warnings on latest GIT
On May 10, 2007, at 8:25 PM, Simon Horman wrote:
> On Thu, May 10, 2007 at 11:56:48AM -0500, Timur Tabi wrote:
>> Simon Horman wrote:
>>
>>>> So my question is: in which Kconfig do I define "UCC_FAST_TEMP" and
>>>> "UCC_SLOW_TEMP"? At first I thought, just put it in drivers/
>>>> Kconfig, but
>>>> that Kconfig does nothing but including other Kconfigs. I
>>>> believe that if I
>>>> submit a patch that adds "UCC_FAST_TEMP" and "UCC_SLOW_TEMP" to
>>>> drivers/Kconfig, it will be rejected. Either that, or I'll
>>>> spend six weeks
>>>> trying to persuade everyone that it's a good idea.
>>>>
>>>> Does anyone have any suggestions on how I can fix this?
>>> That does seem like a reasonable suggestion, and one that
>>> would probably work well with the other similar problems
>>> that have been introduced sice 2.6.21.
>>
>> Looks like the fix is simpler than I thought. Instead of having
>>
>> UCC_GETH
>> select UCC_FAST
>>
>> I need to do
>>
>> UCC_FAST
>> default y if UCC_GETH
>
> I pondered something like that, but I couldn't get it quite right :(
>
>> I'll have a patch that fixes this out later today.
>>
>> I chose the first method because I wanted each individual UCC device
>> driver to select UCC_FAST or UCC_SLOW as appropriate, so that I
>> wouldn't have to update arch/powerpc/sysdev/qe_lib/Kconfig every time
>> we add a new UCC driver. Oh well.
It really seems like the kconfig shouldn't complain if the depends
isnt satisfied.
- k
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists