android_kernel_samsung_msm8976/arch/powerpc/platforms
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
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx Merge branch 'merge' 2006-08-31 15:45:48 +10:00
85xx Merge branch 'merge' 2006-08-25 14:56:07 +10:00
86xx Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
chrp [POWERPC] chrp: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
embedded6xx Merge branch 'merge' 2006-08-31 15:45:48 +10:00
iseries [POWERPC] Merge iSeries i/o operations with the rest 2006-09-22 15:19:58 +10:00
maple [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c 2006-09-22 15:19:58 +10:00
pasemi [POWERPC] powerpc: PA Semi PWRficient platform support 2006-09-13 18:39:53 +10:00
powermac [PATCH] more fallout from get_property returning pointer to const 2006-09-23 11:34:43 -07:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] update legacy io handling for pmac 2006-10-01 00:39:23 -07:00
Makefile [POWERPC] powerpc: PA Semi PWRficient platform support 2006-09-13 18:39:53 +10:00