android_kernel_samsung_msm8976/arch/powerpc/platforms
Christian Krafft aac2e68481 [POWERPC] spu_manage: fix spu_unit_number for celleb device tree
This fixes a regression introduced with 2.6.23-rc4 after on some
confusion about the device tree interfaces.

IBM QS21 device trees provide "physical-id", so we changed the code to
run on that and remain compatible with all IBM machines.

However, the Toshiba Celleb device tree provides the "unit-id" property,
which was in the Linux code, but never used in this way on IBM hardware.

Legacy device tree used the reg property for the physical id of an spe.
This patch fixes find_spu_unit_number to look for the spu id in that order.
The length is checked to avoid misinterpretation in case the attributes
unit-id or reg do not contain the id.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
2007-08-30 01:35:05 +02:00
..
4xx
8xx powerpc: 8xx: fix whitespace and indentation 2007-07-17 10:23:02 -07:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] 52xx: sparse fixes 2007-07-10 00:33:01 -05:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Revert "[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC" 2007-08-10 21:04:22 +10:00
85xx [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
86xx [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
cell [POWERPC] spu_manage: fix spu_unit_number for celleb device tree 2007-08-30 01:35:05 +02:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
embedded6xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
iseries [POWERPC] iSeries: Fix section mismatch warning in lpevents 2007-07-26 16:12:18 +10:00
maple [POWERPC] Fix Maple platform ISA bus 2007-07-26 16:17:49 +10:00
pasemi [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE 2007-08-25 16:58:26 +10:00
powermac [POWERPC] Fix a compile warning in powermac/feature.c 2007-08-03 19:36:01 +10:00
prep
ps3 [POWERPC] ps3: Fix no storage devices found 2007-08-15 15:12:50 +10:00
pseries [POWERPC] Fix future firmware feature fixups function failure 2007-07-22 21:30:58 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00