]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Run on old powermacs.
authorPaul Mackerras <paulus@samba.org>
Sun, 23 Oct 2005 07:23:21 +0000 (17:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 23 Oct 2005 07:23:21 +0000 (17:23 +1000)
commita575b807172ca7d8850e6e979c8e83d4258e8c43
tree83c3a6be6f16e4e1d325ecb9b43d26bb4d3d1ab7
parent96c44507601d64f29b8ccc867637292e326c7019
powerpc: Run on old powermacs.

Old powermacs have a number of differences from current machines:
- there is no interrupt tree in the device tree, just interrupt
  or AAPL,interrupt properties
- the chosen node in the device tree is called /chosen@0
- the OF claim method doesn't map the memory, so we have to do
  an explicit map call as well
- there is no /chosen/cpu property on SMP machines
- the NVRAM isn't structured as a set of partitions.

This adapts the merged powermac support code to cope with these
issues.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/platforms/powermac/setup.c