android_kernel_xiaomi_sm8350/drivers/input/serio
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
..
ambakmi.c
ct82c710.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gscps2.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
hil_mlc.c Manual merge with Linus. 2006-04-02 00:08:05 -05:00
hp_sdc_mlc.c
hp_sdc.c
i8042-io.h [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h
i8042-sparcio.h [PATCH] sparc i8042 build fix 2006-07-03 15:27:00 -07:00
i8042-x86ia64io.h
i8042.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
i8042.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig
libps2.c Input: libps2 - warn instead of oopsing when passed bad arguments 2006-07-06 23:54:48 -04:00
maceps2.c
Makefile
parkbd.c
pcips2.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
q40kbd.c
rpckbd.c
sa1111ps2.c
serio_raw.c [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
serio.c Input: serio/gameport - check whether driver core calls succeeded 2006-07-19 01:14:55 -04:00
serport.c