summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcib_if.m
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-05-20 17:29:21 +0000
committerimp <imp@FreeBSD.org>2009-05-20 17:29:21 +0000
commit3ca3ea71908ddf43687ac7777906573c31fea480 (patch)
tree57c7e52b00a944272cad04dc847cef00b88197de /sys/dev/pci/pcib_if.m
parent033485e00c6bc9bfdac65bf91b70df092b730e27 (diff)
downloadFreeBSD-src-3ca3ea71908ddf43687ac7777906573c31fea480.zip
FreeBSD-src-3ca3ea71908ddf43687ac7777906573c31fea480.tar.gz
We no longer need to use d_thread_t, migrate to struct thread *.
Diffstat (limited to 'sys/dev/pci/pcib_if.m')
-rw-r--r--sys/dev/pci/pcib_if.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/dev/pci/pcib_if.m b/sys/dev/pci/pcib_if.m
index 0b7e8bc..765e644 100644
--- a/sys/dev/pci/pcib_if.m
+++ b/sys/dev/pci/pcib_if.m
@@ -144,3 +144,17 @@ METHOD int map_msi {
uint64_t *addr;
uint32_t *data;
};
+
+#
+# Return the range of busses passed through this bridge. For normal
+# pci-pci bridges (and compatible things like pci-x and pcie), this will
+# just be the secbus and subbus configuration registers. For non-standard
+# bridges, or for host bridges which have no standard, this will be the
+# same data read from either device specific registers of from "perfect
+# knowledge" of what they must be.
+#
+METHOD int bus_range {
+ device_t pcib;
+ u_int *secbus;
+ u_int *subbus;
+};
OpenPOWER on IntegriCloud