patch-2.1.97 linux/include/asm-sparc/io.h

Next file: linux/include/asm-sparc/irq.h
Previous file: linux/include/asm-sparc/io-unit.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/include/asm-sparc/io.h linux/include/asm-sparc/io.h
@@ -1,4 +1,4 @@
-/* $Id: io.h,v 1.14 1997/04/10 05:13:22 davem Exp $ */
+/* $Id: io.h,v 1.15 1998/01/30 10:59:51 jj Exp $ */
 #ifndef __SPARC_IO_H
 #define __SPARC_IO_H
 
@@ -99,6 +99,7 @@
 {
 	switch(sparc_cpu_model) {
 	case sun4c:
+	case sun4:
 		sun4c_mapioaddr(physaddr, virt_addr, bus, rdonly);
 		break;
 	case sun4m:
@@ -122,6 +123,7 @@
 {
 	switch(sparc_cpu_model) {
 	case sun4c:
+	case sun4:
 		sun4c_unmapioaddr(virt_addr);
 		break;
 	case sun4m:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov