PrPMC800 NON-Monarch patch
Anders Blomdell
anders.blomdell at control.lth.se
Tue Jan 28 03:14:15 EST 2003
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2003-01-27.patch
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20030127/c7b33b5f/attachment.txt
More information about the Linuxppc-embedded
mailing list