android_kernel_xiaomi_sm8350/drivers/input
Olaf Hering 30cbc22217 [PATCH] update legacy io handling for pmac
ppc can boot one single binary on prep, chrp and pmac boards.  ppc64 can
boot one single binary on pseries and G5 boards.  pmac has no legacy io,
probing for PC style legacy hardware (or accessing the legacy io area
regulary) may lead to a hard crash:

* add check for parport_pc, exit on pmac.  32bit chrp has no
  ->check_legacy_ioport, the probe is always called.  64bit chrp has
  check_legacy_ioport, check for a "parallel" node

* add check for isapnp, only PReP boards may have real ISA slots.  32bit
  PReP will have no ->check_legacy_ioport, the probe is always called.

* update code in i8042_platform_init.  Run ->check_legacy_ioport first,
  always call request_region.  No functional change.  Remove whitespace
  before i8042_reset init.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:23 -07:00
..
gameport Input: serio/gameport - check whether driver core calls succeeded 2006-07-19 01:14:55 -04:00
joystick Input: spaceball - make 4000FLX Lefty work 2006-07-19 01:14:44 -04:00
keyboard [PATCH] OMAP: Add keypad driver 2006-09-29 09:18:07 -07:00
misc Input: wistron - fix crash due to referencing __initdata 2006-08-23 00:47:39 -04:00
mouse Input: psmouse - fix Intellimouse 4.0 initialization 2006-08-23 00:48:03 -04:00
serio [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
touchscreen sh: APM/PM support. 2006-09-27 16:20:22 +09:00
evbug.c
evdev.c Input: introduce input_inject_event() function 2006-07-06 00:22:43 -04:00
input.c Input: add missing handler->start() call 2006-07-19 01:08:51 -04:00
joydev.c Input: fix formatting to better follow CodingStyle 2006-06-26 01:48:47 -04:00
Kconfig
Makefile
mousedev.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
power.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tsdev.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00