From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: problem: Re: [PATCH] input: fixup X86_MRST selects Date: Mon, 28 Jun 2010 12:03:44 -0700 Message-ID: <4C28F210.7030909@oracle.com> References: <20100609133443.38f1f957.sfr@canb.auug.org.au> <201006091540.43122.dmitry.torokhov@gmail.com> <4C1018C0.6020304@oracle.com> <201006101204.45709.dmitry.torokhov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201006101204.45709.dmitry.torokhov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Dmitry Torokhov Cc: Stephen Rothwell , Jacob Pan , linux-next@vger.kernel.org, LKML , linux-input@vger.kernel.org, akpm , chuck.lever@oracle.com List-Id: linux-input@vger.kernel.org On 06/10/10 12:04, Dmitry Torokhov wrote: > On Wednesday, June 09, 2010 03:42:08 pm Randy Dunlap wrote: >> On 06/09/10 15:40, Dmitry Torokhov wrote: >>> On Wednesday, June 09, 2010 03:29:21 pm Randy Dunlap wrote: >>>> +++ linux-next-20100609/drivers/input/keyboard/Kconfig >>>> @@ -70,9 +70,10 @@ config KEYBOARD_ATARI >>>> >>>> config KEYBOARD_ATKBD >>>> tristate "AT keyboard" if EMBEDDED || !X86 >>>> + depends on !X86 || (X86 && !X86_MRST) >>> >>> Should it be simply 'depends on !X86_MRST' and then we could kill >>> '!X86_MRST' conditionals in selects? >> >> Duh, that sounds good, yes. > > Actually, I do not think this is a correct approach. While Moorestown does > not have i8042 theoretically it is possible to add AT-style keyboard by > other means (however unlikely it is) so we should not be disabling it. > > We should, however, disallow i8042 from being selected. Could you please > tell me if the patch below works for you? Dmitry, This patch (in current mainline git) causes a problem when X86_MRST is enabled. CONFIG_SERIO_I8042 is no longer enabled when X86_MRST is enabled, and X86_MRST could be enabled when someone is trying to build a generic kernel. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***