Re: [PATCH] Input: i8042 - Add PNP checking hook for Loongson
From: Huacai Chen
Date: Fri Sep 16 2022 - 11:05:01 EST
Hi, Arnd,
On Fri, Sep 16, 2022 at 6:16 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Fri, Sep 16, 2022, at 11:53 AM, Huacai Chen wrote:
> > Ping?
> >
> > On Thu, Aug 18, 2022 at 12:04 PM Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote:
> >>
> >> Add PNP checking related functions for Loongson, so that i8042 driver
> >> can work well under the ACPI firmware with PNP typed keyboard and mouse
> >> configured in DSDT.
> >>
> >> Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx>
> >> Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
> >> ---
> >> drivers/input/serio/i8042-loongsonio.h | 330 +++++++++++++++++++++++++
> >> drivers/input/serio/i8042.h | 2 +
> >> 2 files changed, 332 insertions(+)
>
> This looks like you are just duplicating code from
> i8042-x86ia64io.h. Can't you just use that version
> directly?
OK, I will rename i8042-x86ia64io.h to i8042-acpiio.h and use it for LoongArch.
Huacai
>
> Arnd