1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

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
This commit is contained in:
Ken Smith 2004-08-19 20:13:31 +00:00
parent d298f91974
commit 7a4cf071fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134039

View File

@ -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;
}