Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/prep



Module Name:    src
Committed By:   garbled
Date:           Fri Jun  9 01:19:12 UTC 2006

Modified Files:
        src/sys/arch/prep/include: pci_machdep.h platform.h
        src/sys/arch/prep/pci: pci_machdep.c prep_pciconf_direct.c
            prep_pciconf_indirect.c
        src/sys/arch/prep/prep: ibm_machdep.c mainbus.c platform.c

Log Message:
Completely rework how we look up PCI interrupts on prep:

1) Rather than build an array of the pci->intr mappings, build a proplib
tree.
2) add a SIMPLEQ of device properties to the pci_chipset_tag to hold the
proplib trees of each bus.
3) Move the interrupt routing code from pci_conf_interrupt to pci_map_intr()
4) Deal properly with non-native PCI bridge chips that are not recognized
by the prep firmware, and therefore are not noted in the residual data.

The major win of this restructure is #4. Hopefully I haven't broken
anything. Tested on a 7248-100, 7043-140 and 7024-E20.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/prep/include/pci_machdep.h \
    src/sys/arch/prep/include/platform.h
cvs rdiff -r1.26 -r1.27 src/sys/arch/prep/pci/pci_machdep.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/prep/pci/prep_pciconf_direct.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/prep/pci/prep_pciconf_indirect.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/prep/prep/ibm_machdep.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/prep/prep/mainbus.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/prep/prep/platform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index