patch-2.1.16 linux/include/asm-sparc/auxio.h

Next file: linux/include/asm-sparc/bitops.h
Previous file: linux/include/asm-sparc/atomic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/include/asm-sparc/auxio.h linux/include/asm-sparc/auxio.h
@@ -1,4 +1,4 @@
-/* $Id: auxio.h,v 1.14 1996/10/31 06:29:10 davem Exp $
+/* $Id: auxio.h,v 1.15 1996/12/06 00:37:11 davem Exp $
  * auxio.h:  Definitions and code for the Auxiliary I/O register.
  *
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -56,6 +56,8 @@
 		*AUXREG = ((regval | bits_on) & ~bits_off) | AUXIO_ORMEIN;
 		break;
 	case sun4m:
+		if(!AUXREG)
+			break;     /* VME chassic sun4m, no auxio. */
 		regval = *AUXREG;
 		*AUXREG = ((regval | bits_on) & ~bits_off) | AUXIO_ORMEIN4M;
 		break;

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