]> git.baikalelectronics.ru Git - kernel.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)
commit73c612fe9f93e63ebc231daf2346263bdae23464
tree3ed0b4a2ba4870b733e66483b01d69903142aa59
parentca83cb1bf314c5992cc1e9bb05891b941e3f0e33
[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