Re: [PATCH v2 0/5] patches to settle i8042 with Intel MID platforms

From: H. Peter Anvin
Date: Mon Jul 05 2010 - 15:47:29 EST


On 07/05/2010 08:03 AM, feng.tang@xxxxxxxxx wrote:
> From: Feng Tang <feng.tang@xxxxxxxxx>
>
> Hi All,
>
> Some x86 platforms like intel MID platforms don't have i8042 controllers,
> and i8042 driver's probe to some non-exist legacy IO ports may hang
> the MID processor.
>
> Current solution for this is add dependency of SERIO_I8042 over
> !X86_MRST, then if we build a x86 kernel image with X86_MRST=y,
> it won't have i8042 driver support over common x86 platforms.
>
> So we add a i8042 pre-detect hook into x86_platforms ops, so that
> i8042 driver can use it to run-time judge whether to go on with
> probe process.
>
> Please review these patches.
>

Looks good to me. Dmitry, what do you think?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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