summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-04-01 12:50:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-04-01 12:50:19 +0000
commit9b68dc5ed8f0fde5ffa04aaad315d2638801408e (patch)
treeb26cb5ec5834d0052f83a9ab9255e15004dcdff8 /sys/arch/sparc64/dev
parent888c80435e0df757fb38ed9629f61db6e041075b (diff)
Shift pci tags for PCIe.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/pyro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/pyro.c b/sys/arch/sparc64/dev/pyro.c
index 03e001a85e5..1e5291d88b4 100644
--- a/sys/arch/sparc64/dev/pyro.c
+++ b/sys/arch/sparc64/dev/pyro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pyro.c,v 1.4 2007/04/01 12:48:07 kettenis Exp $ */
+/* $OpenBSD: pyro.c,v 1.5 2007/04/01 12:50:18 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -312,6 +312,7 @@ pyro_alloc_chipset(struct pyro_pbm *pbm, int node, pci_chipset_tag_t pc)
memcpy(npc, pc, sizeof *pc);
npc->cookie = pbm;
npc->rootnode = node;
+ npc->tagshift = 4; /* PCIe has a larger config space */
return (npc);
}