From 8526d66c636337d8a561fa54ed24f881c8ad347a Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 26 Oct 2014 04:01:57 +0000 Subject: MFC r272109, r272181: Replace multiple nearly-identical copies of code to walk through an FDT node's interrupts=<...> property creating resource list entries with a single common implementation. This change makes ofw_bus_intr_to_rl() the one true copy of that code and removes the copies of it from other places. This also adds handling of the interrupts-extended property. --- sys/mips/beri/beri_simplebus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/mips') diff --git a/sys/mips/beri/beri_simplebus.c b/sys/mips/beri/beri_simplebus.c index ad1bde4..620cf08 100644 --- a/sys/mips/beri/beri_simplebus.c +++ b/sys/mips/beri/beri_simplebus.c @@ -197,7 +197,7 @@ simplebus_attach(device_t dev) continue; } - if (fdt_intr_to_rl(dev, dt_child, &di->di_res, di->di_intr_sl)) { + if (ofw_bus_intr_to_rl(dev, dt_child, &di->di_res)) { device_printf(dev, "%s: could not process " "'interrupts' property\n", di->di_ofw.obd_name); resource_list_free(&di->di_res); -- cgit v1.1