summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2009-03-19 21:14:45 +0000
committermarius <marius@FreeBSD.org>2009-03-19 21:14:45 +0000
commite24015abe482676abb262d5f2e9c9db2ddbfa123 (patch)
tree5488049dd5d17d090624dc6faca02417512be975 /sys/sparc64
parentf86bb263fc1dccf9ac26435441c9b75328ceeb57 (diff)
downloadFreeBSD-src-e24015abe482676abb262d5f2e9c9db2ddbfa123.zip
FreeBSD-src-e24015abe482676abb262d5f2e9c9db2ddbfa123.tar.gz
Hook up the generic OFW pnpinfo string method.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/central/central.c1
-rw-r--r--sys/sparc64/fhc/fhc.c1
-rw-r--r--sys/sparc64/sbus/dma_sbus.c1
-rw-r--r--sys/sparc64/sbus/sbus.c1
-rw-r--r--sys/sparc64/sparc64/upa.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/sys/sparc64/central/central.c b/sys/sparc64/central/central.c
index 70a95f8..4ded549 100644
--- a/sys/sparc64/central/central.c
+++ b/sys/sparc64/central/central.c
@@ -84,6 +84,7 @@ static device_method_t central_methods[] = {
DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
DEVMETHOD(bus_get_resource_list, central_get_resource_list),
+ DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_devinfo, central_get_devinfo),
diff --git a/sys/sparc64/fhc/fhc.c b/sys/sparc64/fhc/fhc.c
index f3e134a..91416ec 100644
--- a/sys/sparc64/fhc/fhc.c
+++ b/sys/sparc64/fhc/fhc.c
@@ -98,6 +98,7 @@ static device_method_t fhc_methods[] = {
DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
DEVMETHOD(bus_get_resource_list, fhc_get_resource_list),
+ DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_devinfo, fhc_get_devinfo),
diff --git a/sys/sparc64/sbus/dma_sbus.c b/sys/sparc64/sbus/dma_sbus.c
index 027fec8..b4c2e5e 100644
--- a/sys/sparc64/sbus/dma_sbus.c
+++ b/sys/sparc64/sbus/dma_sbus.c
@@ -130,6 +130,7 @@ static device_method_t dma_methods[] = {
DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
DEVMETHOD(bus_get_resource_list, dma_get_resource_list),
+ DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_devinfo, dma_get_devinfo),
diff --git a/sys/sparc64/sbus/sbus.c b/sys/sparc64/sbus/sbus.c
index 3465c16..dd36f03 100644
--- a/sys/sparc64/sbus/sbus.c
+++ b/sys/sparc64/sbus/sbus.c
@@ -225,6 +225,7 @@ static device_method_t sbus_methods[] = {
DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
DEVMETHOD(bus_get_resource_list, sbus_get_resource_list),
+ DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
DEVMETHOD(bus_get_dma_tag, sbus_get_dma_tag),
/* ofw_bus interface */
diff --git a/sys/sparc64/sparc64/upa.c b/sys/sparc64/sparc64/upa.c
index 7069c68..7e81c89 100644
--- a/sys/sparc64/sparc64/upa.c
+++ b/sys/sparc64/sparc64/upa.c
@@ -135,6 +135,7 @@ static device_method_t upa_methods[] = {
DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
DEVMETHOD(bus_get_resource_list, upa_get_resource_list),
+ DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_devinfo, upa_get_devinfo),
OpenPOWER on IntegriCloud