[0/9] Support for old IBM PReP boxes
leigh at solinno.co.uk
Fri Jul 30 07:33:19 EST 2004
This set of patches add support for old IBM PReP machines. They are
not perfect, but they are known working on the E20, E30, 140, 240
and F30. The F40 is not currently working, but it doesn't work at
all without these patches so I'm not too concerned right now.
As 060-old-openpic.diff has not shown up any problems on any machines
I think it's worth applying, but if Tom is still unhappy then it can
be left for now.
Introduce have_residual_data() function and change existing code to
use it. This is mainly to avoid my additions adding loads of ugly
#ifdef CONFIG_RESIDUAL_DATA sections.
This allows use of the IBM status LED if it's found in the residual
data, plus a couple of other bells and whistles. It removes the
This adds a function to use the residual data to determine the IRQ
for a given PCI device, and changes prep_pcibios_fixup() to use it.
This adds a function to determine the 8259 level/edge mask word.
With this function we can now (in theory) support any IBM PReP
machine. We therefore add a little bit more code to fallback
to using residual data if we don't recognise the machine.
This adds a function to use the residual data to determine the
address to pass to i8259_init().
This adds support for the "PCIBridgeRS6K" bridge type in residual
data to prep_find_bridges() - this is for the 7043-240.
Some older E20/E30 machines have a very old implementation of the
OpenPIC which trips up the existing ibm_prep_init() function. This
adds support for it. It also changes the OPENPIC_VEC_SPURIOUS
constant to work around the buggy OpenPIC in those machines.
The planar id is only a byte, so why waste 8 characters displaying
This makes the /proc/interrupts display the correct edge/level
indicator for each interrupt. This is purely cosmetic, but does
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev