]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r287726
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Dec 2015 19:37:47 +0000 (19:37 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Dec 2015 19:37:47 +0000 (19:37 +0000)
commit0093fd685ccef1e1a0707de94033e3be39359022
tree1a7c220eb8b244a77544749c54f17a27cb00bef3
parent82c48492baa8c8ee0e4a0b8c07a4e1ff47cf09da
MFC: r287726

- Factor out the common and generic parts of the sparc64 host-PCI-bridge
  drivers into the revived sys/sparc64/pci/ofw_pci.c, previously already
  serving a similar purpose. This has been done with sun4v in mind, which
  explains a) the otherwise not that obvious scheme employed and b) why
  reusing sys/powerpc/ofw/ofw_pci.c was even lesser an option.
- Add a workaround for QEMU once again not emulating real machines, in
  this case by not providing the OFW_PCI_CS_MEM64 range. [1]

Submitted by: jhb [1]

git-svn-id: svn://svn.freebsd.org/base/stable/10@292789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
sys/conf/files.sparc64
sys/sparc64/pci/fire.c
sys/sparc64/pci/firereg.h
sys/sparc64/pci/firevar.h
sys/sparc64/pci/ofw_pci.c [new file with mode: 0644]
sys/sparc64/pci/ofw_pci.h
sys/sparc64/pci/psycho.c
sys/sparc64/pci/psychoreg.h
sys/sparc64/pci/psychovar.h
sys/sparc64/pci/schizo.c
sys/sparc64/pci/schizoreg.h
sys/sparc64/pci/schizovar.h