30 Jun, 2010

1 commit

  • Otherwise we may run into following:

    drivers/platform/built-in.o: In function `i8042_lock_chip':
    /home/test/ws2/projects/linux-2.6/include/linux/i8042.h:50: multiple definition of `i8042_lock_chip'
    drivers/input/serio/built-in.o:/home/test/ws2/projects/linux-2.6/include/linux/i8042.h:50: first defined here
    ...
    make[1]: *** [drivers/built-in.o] Error 1
    make: *** [drivers] Error 2

    Signed-off-by: Feng Tang
    Signed-off-by: Dmitry Torokhov

    Feng Tang
     

12 Dec, 2009

1 commit


18 Sep, 2009

1 commit

  • The serio ports on i8042 are not completely isolated; while we provide
    enough locking to ensure proper serialization when accessing control
    and data registers AUX and KBD ports can still have an effect on each
    other on PS/2 protocol level. The most prominent effect is that
    issuing a command for the device connected to one port may cause
    abort of the command currently executing by the device connected to
    another port.

    Since i8042 nor serio subsystem are not aware of the details of the
    PS/2 protocol (length of the commands and their replies and so on) the
    locking should be done on libps2 level by adding special handling when
    we see that we are dealing with serio port on i8042.

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

22 Oct, 2007

1 commit