PrPMC800 NON-Monarch patch

From: Anders Blomdell <hidden>
Date: 2003-01-27 16:14:15

To whom do I send pathes to the linuxppc_2_4_devel tree?

Enclosed in this mail is a small patch that [partly] enables the
PrPMC800 to run in NON-MONARCH mode on a PCI system. The following has
been done:

  1. arch/ppc/kernel/harrier.c:
       consider PCI/PPC memory/IO size mismatches non-fatal,
       this will probably be changed back when all the memory
       handling is in place.

  2. arch/ppc/platforms/prpmc800.h:
       added some comments and a utility macro for harrier register
       access.

  3. arch/ppc/platforms/prpmc800_pci.c:
       added some extra interrupt mappings to 'prpmc_map_irq(...)', this
       routine needs major overhaul though...

       added a 'prpmc800_find_hostbridge()' function to find a local
       harrier chip, this was previously done by reading from
       PCI_DEVFN(0,0), which does not work in the NON-MONARCH case.

       added a NON-MONARCH branch to the 'prpmc800_find_hostbridge(...)'
       that takes care of (some) of the issues related to not being
       in control of the PCI bus.

  4. include/asm-ppc/harrier.h:
       added some new defines

Regards

Anders Blomdell

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help