Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel
In directory usw-pr-cvs1:/tmp/cvs-serv15526
Modified Files:
cpu_ka46.c
Log Message:
DA: well NetBSD do this and say that's what it those
Index: cpu_ka46.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/cpu_ka46.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cpu_ka46.c 2001/09/14 20:30:21 1.8
+++ cpu_ka46.c 2001/12/15 12:21:58 1.9
@@ -131,6 +131,9 @@
#ifdef CONFIG_VSBUS
vsbus_setup();
#endif /* CONFIG_VSBUS */
+
+ __mtpr(PR_ACCS,2); /* Enable floating points */
+ printk("ka46: enabled floating point\n");
/* initialise the DMA area */
ka46_dma_init();
}
@@ -147,11 +150,12 @@
printk(KERN_ERR "KA46 DMA unable to allocate map\n");
return;
}
+
/* Map all 16MB of I/O space to low 16MB of memory (the GFP_DMA region)*/
base_addr = ioremap(KA46_DMAMAP,0x4);
*base_addr = (unsigned int)ka46_dmamap;
for (i = 0; i < 0x8000; i++) ka46_dmamap[i] = 0x80000000 | i;
iounmap(base_addr);
-
+
return;
}
|