svn commit: r183711 - in stable/6/sys: . boot/sparc64/loader

Marius Strobl marius at FreeBSD.org
Wed Oct 8 21:46:11 UTC 2008


Author: marius
Date: Wed Oct  8 21:46:10 2008
New Revision: 183711
URL: http://svn.freebsd.org/changeset/base/183711

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/6/sys/   (props changed)
  stable/6/sys/boot/sparc64/loader/main.c

Modified: stable/6/sys/boot/sparc64/loader/main.c
==============================================================================
--- stable/6/sys/boot/sparc64/loader/main.c	Wed Oct  8 21:45:56 2008	(r183710)
+++ stable/6/sys/boot/sparc64/loader/main.c	Wed Oct  8 21:46:10 2008	(r183711)
@@ -196,7 +196,7 @@ watch_virt_set(vm_offset_t va, int sz)
 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-all mailing list