summaryrefslogtreecommitdiff
path: root/sys/dev/vnic
diff options
context:
space:
mode:
authorSvatopluk Kraus <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
committerSvatopluk Kraus <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
commitad5244ece1eb60357d5fefa1b17632a25fcd116e (patch)
tree09f7a3292cf97e27a58700773b3817ba12f58e1b /sys/dev/vnic
parent535c8d9372cdd6a70883bfba1e5ef0d566b09fd8 (diff)
Notes
Diffstat (limited to 'sys/dev/vnic')
-rw-r--r--sys/dev/vnic/mrml_bridge.c2
-rw-r--r--sys/dev/vnic/thunder_mdio_fdt.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vnic/mrml_bridge.c b/sys/dev/vnic/mrml_bridge.c
index 7f4dc128ca11..8d5006b85ec7 100644
--- a/sys/dev/vnic/mrml_bridge.c
+++ b/sys/dev/vnic/mrml_bridge.c
@@ -263,7 +263,9 @@ mrmlb_ofw_bus_attach(device_t dev)
resource_list_init(&di->di_rl);
ofw_bus_reg_to_rl(dev, node, sc->acells, sc->scells,
&di->di_rl);
+#ifndef INTRNG
ofw_bus_intr_to_rl(dev, node, &di->di_rl, NULL);
+#endif
/* Add newbus device for this FDT node */
child = device_add_child(dev, NULL, -1);
diff --git a/sys/dev/vnic/thunder_mdio_fdt.c b/sys/dev/vnic/thunder_mdio_fdt.c
index cc9415050388..c05c906963b3 100644
--- a/sys/dev/vnic/thunder_mdio_fdt.c
+++ b/sys/dev/vnic/thunder_mdio_fdt.c
@@ -271,7 +271,9 @@ mdionexus_ofw_bus_attach(device_t dev)
resource_list_init(&di->di_rl);
ofw_bus_reg_to_rl(dev, node, sc->acells, sc->scells,
&di->di_rl);
+#ifndef INTRNG
ofw_bus_intr_to_rl(dev, node, &di->di_rl, NULL);
+#endif
/* Add newbus device for this FDT node */
child = device_add_child(dev, NULL, -1);