diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-12-05 15:15:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-12-05 15:15:15 +0000 |
commit | 441fa3ce331bbaf030cb213296348b42f53cb05b (patch) | |
tree | 70915624497c5480d264918dfc29ac72288c4cbb /sys/arch | |
parent | e6f31fe8a556a8d28837be272f778f6b65cfc0bf (diff) |
PCIe based sparc64 machines have always supported access to the extended PCIe
configuration space. So on pyro(4) and vpci(4) return the size appropriate
for the extended PCIe configuration space.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/dev/pyro.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/vpci.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/pyro.c b/sys/arch/sparc64/dev/pyro.c index 2e58939deba..aad1360d6e6 100644 --- a/sys/arch/sparc64/dev/pyro.c +++ b/sys/arch/sparc64/dev/pyro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pyro.c,v 1.19 2010/12/04 17:06:32 miod Exp $ */ +/* $OpenBSD: pyro.c,v 1.20 2010/12/05 15:15:14 kettenis Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -276,7 +276,7 @@ pyro_print(void *aux, const char *p) int pyro_conf_size(pci_chipset_tag_t pc, pcitag_t tag) { - return PCI_CONFIG_SPACE_SIZE; + return PCIE_CONFIG_SPACE_SIZE; } pcireg_t diff --git a/sys/arch/sparc64/dev/vpci.c b/sys/arch/sparc64/dev/vpci.c index ebe37225694..147c3e6a6e4 100644 --- a/sys/arch/sparc64/dev/vpci.c +++ b/sys/arch/sparc64/dev/vpci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vpci.c,v 1.5 2010/12/04 17:06:32 miod Exp $ */ +/* $OpenBSD: vpci.c,v 1.6 2010/12/05 15:15:14 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * @@ -206,7 +206,7 @@ vpci_print(void *aux, const char *p) int vpci_conf_size(pci_chipset_tag_t pc, pcitag_t tag) { - return PCI_CONFIG_SPACE_SIZE; + return PCIE_CONFIG_SPACE_SIZE; } pcireg_t |