diff options
author | kensmith <kensmith@FreeBSD.org> | 2004-08-19 20:13:31 +0000 |
---|---|---|
committer | kensmith <kensmith@FreeBSD.org> | 2004-08-19 20:13:31 +0000 |
commit | b9fe831ef7f8f88189bab0b933350fb97e887301 (patch) | |
tree | f5defcf543d330c0d29de5fd5739427f1e3ee9ee /sys/boot/sparc64/loader | |
parent | 59d327838d010e655f4d83f7b6c5feedddbf9974 (diff) | |
download | FreeBSD-src-b9fe831ef7f8f88189bab0b933350fb97e887301.zip FreeBSD-src-b9fe831ef7f8f88189bab0b933350fb97e887301.tar.gz |
Temporary bandaid to help sparc64 systems with ATA disks boot. Recent
changes to the ATA driver cause a kernel crash, no fault of the ATA
code. Work is in progress to add the necessary feature to the sparc64
kernel and this commit will be backed out when it is complete. This
bandaid is being put in mostly in the interests of getting the first
release snapshot done and out the door.
Tested on: Ultra-10 exhibiting the insta-panic.
MFC: Real Soon
Diffstat (limited to 'sys/boot/sparc64/loader')
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 9a8a8fa..8b5adc6 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -197,7 +197,9 @@ watch_virt_set(vm_offset_t va, int sz) static int sparc64_autoload(void) { - printf("nothing to autoload yet.\n"); + /* XXX - Temporary hack needed for new ATA to work. */ + printf("Turning off DMA for ATA.\n"); + setenv("hw.ata.ata_dma", "0", 1); return 0; } |