]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix Pegasos keyboard detection
authorAlan Curry <pacman@theworld.com>
Wed, 25 Jul 2007 01:28:32 +0000 (11:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 26 Jul 2007 06:17:45 +0000 (16:17 +1000)
commitf5d834fc34e61f1a40435981062000e5d2b2baa8
tree3ed0b4a2ba4870b733e66483b01d69903142aa59
parent16782a604c458e1edcefca52457a82395b788bed
[POWERPC] Fix Pegasos keyboard detection

As of 2.6.22 the kernel doesn't recognize the i8042 keyboard/mouse
controller on the PegasosPPC.  This is because of a feature/bug in the
OF device tree: the "device_type" attribute is an empty string instead
of "8042" as the kernel expects.  This adds a secondary detection
which looks for a device whose *name* is "8042" if there is no device
whose *type* is "8042".

Signed-off-by: Alan Curry <pacman@world.std.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup-common.c