summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-08-24 16:38:44 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-08-24 16:38:44 +0000
commit082709023228c82a9997cec43e41ddccadcc593b (patch)
treeda59b96295d944041299434d28a92f5b6157438e /sys/arch
parent5a86ccd372736713358796203af64da82d70fd19 (diff)
Workaround for slow bm(4) from NetBSD PR 33667 via Donovan Watteau on
bugs@.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/dev/if_bm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/if_bm.c b/sys/arch/macppc/dev/if_bm.c
index d950b1866b5..9e3d862b9d0 100644
--- a/sys/arch/macppc/dev/if_bm.c
+++ b/sys/arch/macppc/dev/if_bm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bm.c,v 1.34 2015/07/08 07:21:49 mpi Exp $ */
+/* $OpenBSD: if_bm.c,v 1.35 2015/08/24 16:38:43 mpi Exp $ */
/* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */
/*-
@@ -558,6 +558,8 @@ next:
cmd->d_resid = 0;
sc->sc_rxlast = i + 1;
}
+ bmac_mediachange(ifp);
+
dbdma_continue(sc->sc_rxdma);
if_input(ifp, &ml);