summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-04-01 12:26:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-04-01 12:26:16 +0000
commit77221e0533bc2d2776aaa14d8cb0a350c41e91a1 (patch)
tree58fe439f71bb81832d7ccbc43cf7405f413aa228 /sys/arch/sparc64/include
parent41f8f990efc8d5dfec2fd2d609f1a001c4ee64c5 (diff)
Shift tags when converting them into an address offset. Necessary to support
access to PCIe config space, which is larger than normal PCI config space.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/pci_machdep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h
index ddbc74de461..edd8ed60e8d 100644
--- a/sys/arch/sparc64/include/pci_machdep.h
+++ b/sys/arch/sparc64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.15 2006/03/19 02:43:38 brad Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.16 2007/04/01 12:26:15 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -63,10 +63,11 @@ typedef u_int pci_intr_handle_t;
typedef u_int64_t pcitag_t;
struct sparc_pci_chipset {
- void *cookie; /* psycho_pbm, but sssh! */
+ void *cookie;
bus_space_tag_t bustag;
bus_space_handle_t bushandle;
int rootnode; /* PCI controller */
+ int tagshift;
int (*intr_map)(struct pci_attach_args *, pci_intr_handle_t *);
};