From f449699d539b3f025c1be7e463455eed81cfbb1a Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Thu, 19 Mar 2009 21:14:45 +0000 Subject: [PATCH] Hook up the generic OFW pnpinfo string method. --- sys/sparc64/central/central.c | 1 + sys/sparc64/fhc/fhc.c | 1 + sys/sparc64/sbus/dma_sbus.c | 1 + sys/sparc64/sbus/sbus.c | 1 + sys/sparc64/sparc64/upa.c | 1 + 5 files changed, 5 insertions(+) diff --git a/sys/sparc64/central/central.c b/sys/sparc64/central/central.c index 70a95f88b947..4ded549e70d9 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 f3e134a83e5c..91416ec8431c 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 027fec85a225..b4c2e5e6224d 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 3465c1667fbe..dd36f036d7ee 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 7069c6838b9f..7e81c8923aef 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),