Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 00:37:13 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215920 - stable/8/sys/boot/ofw/libofw
Message-ID:  <201011270037.oAR0bDUK001412@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sat Nov 27 00:37:13 2010
New Revision: 215920
URL: http://svn.freebsd.org/changeset/base/215920

Log:
  MFC r214494:
  Fix netboot on some Apple machines on which calling dma-free on the
  network device can hang the machine. This causes the loss of 64 KB of
  accessible memory on netbooted machines.

Modified:
  stable/8/sys/boot/ofw/libofw/ofw_net.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/boot/ofw/libofw/ofw_net.c
==============================================================================
--- stable/8/sys/boot/ofw/libofw/ofw_net.c	Sat Nov 27 00:36:11 2010	(r215919)
+++ stable/8/sys/boot/ofw/libofw/ofw_net.c	Sat Nov 27 00:37:13 2010	(r215920)
@@ -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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011270037.oAR0bDUK001412>