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

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

Modified: releng/6.4/sys/boot/sparc64/loader/main.c
==============================================================================
--- releng/6.4/sys/boot/sparc64/loader/main.c   Wed Oct  8 21:46:10 2008        
(r183711)
+++ releng/6.4/sys/boot/sparc64/loader/main.c   Wed Oct  8 21:46:17 2008        
(r183712)
@@ -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;
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to