patch-1.3.93 linux/arch/sparc/prom/devops.c

Next file: linux/arch/sparc/prom/devtree.c
Previous file: linux/arch/sparc/prom/console.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.92/linux/arch/sparc/prom/devops.c linux/arch/sparc/prom/devops.c
@@ -1,4 +1,4 @@
-/* $Id: devops.c,v 1.3 1995/11/25 00:59:59 davem Exp $
+/* $Id: devops.c,v 1.4 1996/04/04 16:30:58 tridge Exp $
  * devops.c:  Device operations using the PROM.
  *
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -27,6 +27,8 @@
 		handle = (*(romvec->pv_v2devops.v2_dev_open))(dstr);
 		return handle;
 		break;
+        case PROM_AP1000:
+		break;
 	};
 
 	return -1;
@@ -45,6 +47,8 @@
 	case PROM_P1275:
 		(*(romvec->pv_v2devops.v2_dev_close))(dhandle);
 		return;
+        case PROM_AP1000:
+		return;
 	};
 	return;
 }
@@ -63,6 +67,8 @@
 	case PROM_V3:
 	case PROM_P1275:
 		(*(romvec->pv_v2devops.v2_dev_seek))(dhandle, seekhi, seeklo);
+		break;
+        case PROM_AP1000:
 		break;
 	};
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this