summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw/libofw/ofw_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ofw/libofw/ofw_net.c')
-rw-r--r--sys/boot/ofw/libofw/ofw_net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ofw/libofw/ofw_net.c b/sys/boot/ofw/libofw/ofw_net.c
index 17e1125..830fcda 100644
--- a/sys/boot/ofw/libofw/ofw_net.c
+++ b/sys/boot/ofw/libofw/ofw_net.c
@@ -230,7 +230,10 @@ punt:
static void
ofwn_end(struct netif *nif)
{
+#ifdef BROKEN
+ /* dma-free freezes at least some Apple ethernet controllers */
OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
+#endif
OF_close(netinstance);
}
OpenPOWER on IntegriCloud