From 63e6caa26564e0dc0de5c358a1401413ea2b7e8c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 19 Aug 2018 08:23:48 +0000 Subject: Add support for multiple PCI segments. Only really implemented for arm64 for now as amd64/i386 firmware still caters for legacy OSes that only support a single PCI segment. ok patrick@ --- sys/arch/amd64/include/pci_machdep.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/include') diff --git a/sys/arch/amd64/include/pci_machdep.h b/sys/arch/amd64/include/pci_machdep.h index a919dfd77e2..8a456f72b09 100644 --- a/sys/arch/amd64/include/pci_machdep.h +++ b/sys/arch/amd64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.26 2018/07/04 20:46:22 kettenis Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.27 2018/08/19 08:23:47 kettenis Exp $ */ /* $NetBSD: pci_machdep.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */ /* @@ -95,7 +95,8 @@ void pci_dev_postattach(struct device *, struct pci_attach_args *); pcireg_t pci_min_powerstate(pci_chipset_tag_t, pcitag_t); void pci_set_powerstate_md(pci_chipset_tag_t, pcitag_t, int, int); -pci_chipset_tag_t pci_mcfg_init(bus_space_tag_t, bus_addr_t, int, int); +void pci_mcfg_init(bus_space_tag_t, bus_addr_t, int, int, int); +pci_chipset_tag_t pci_lookup_segment(int); /* * ALL OF THE FOLLOWING ARE MACHINE-DEPENDENT, AND SHOULD NOT BE USED -- cgit v1.2.3