summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-12-05 15:15:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-12-05 15:15:15 +0000
commit441fa3ce331bbaf030cb213296348b42f53cb05b (patch)
tree70915624497c5480d264918dfc29ac72288c4cbb /sys/dev/pci
parente6f31fe8a556a8d28837be272f778f6b65cfc0bf (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/dev/pci')
-rw-r--r--sys/dev/pci/pcireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 97eeebdc927..507f92e1bea 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.38 2010/12/04 17:06:29 miod Exp $ */
+/* $OpenBSD: pcireg.h,v 1.39 2010/12/05 15:15:14 kettenis Exp $ */
/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
/*
@@ -41,6 +41,7 @@
*/
#define PCI_CONFIG_SPACE_SIZE 0x100
+#define PCIE_CONFIG_SPACE_SIZE 0x1000
/*
* Device identification register; contains a vendor ID and a device ID.