summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-10-05 14:00:44 +0000
committermarius <marius@FreeBSD.org>2008-10-05 14:00:44 +0000
commit7b4d5cb9c828e404d6ad7fd06c3c40991da6b759 (patch)
treef744d112377c4c96374e40f4740ebb1a0ca81b56 /sys/boot
parent869996544c3190f00a316c7f940b480eccf8f69f (diff)
downloadFreeBSD-src-7b4d5cb9c828e404d6ad7fd06c3c40991da6b759.zip
FreeBSD-src-7b4d5cb9c828e404d6ad7fd06c3c40991da6b759.tar.gz
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. MFC after: 3 days
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/sparc64/loader/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c
index 355160c..c14248e 100644
--- a/sys/boot/sparc64/loader/main.c
+++ b/sys/boot/sparc64/loader/main.c
@@ -261,7 +261,7 @@ static int
sparc64_autoload(void)
{
- printf("nothing to autoload yet.\n");
+ setenv("hw.ata.atapi_dma", "0", 0);
return (0);
}
OpenPOWER on IntegriCloud