svn commit: r183710 - in stable/7/sys: . boot/sparc64/loader

Marius Strobl marius at FreeBSD.org
Wed Oct 8 21:45:57 UTC 2008


Author: marius
Date: Wed Oct  8 21:45:56 2008
New Revision: 183710
URL: http://svn.freebsd.org/changeset/base/183710

Log:
  MFC: r183628
  
  Disable ATAPI DMA as it's once again broken in that it causes data
  corruption with the on-board AcerLabs M5229 controllers. While at
  it, remove the pointless "nothing to autoload yet." message.
  
  Approved by:	re (blackend)

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/boot/sparc64/loader/main.c

Modified: stable/7/sys/boot/sparc64/loader/main.c
==============================================================================
--- stable/7/sys/boot/sparc64/loader/main.c	Wed Oct  8 21:10:55 2008	(r183709)
+++ stable/7/sys/boot/sparc64/loader/main.c	Wed Oct  8 21:45:56 2008	(r183710)
@@ -222,7 +222,7 @@ static int
 sparc64_autoload(void)
 {
 
-	printf("nothing to autoload yet.\n");
+	setenv("hw.ata.atapi_dma", "0", 0);
 	return (0);
 }
 


More information about the svn-src-stable-7 mailing list