summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/openbsd/libsa/devopen.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 07:02:08 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 07:02:08 +0000
commit480d88b604e88817b77c5652aa93f9d7ee4c3619 (patch)
tree946292a3ee23a2cbd0afd0f2997ac09d3acf9ab6 /sys/arch/mvme88k/stand/openbsd/libsa/devopen.c
parent14cb3043944970a403f3c8072993e0221950aa40 (diff)
Part of remove to clean up stand.
Diffstat (limited to 'sys/arch/mvme88k/stand/openbsd/libsa/devopen.c')
-rw-r--r--sys/arch/mvme88k/stand/openbsd/libsa/devopen.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/sys/arch/mvme88k/stand/openbsd/libsa/devopen.c b/sys/arch/mvme88k/stand/openbsd/libsa/devopen.c
deleted file mode 100644
index 92c083983cb..00000000000
--- a/sys/arch/mvme88k/stand/openbsd/libsa/devopen.c
+++ /dev/null
@@ -1,32 +0,0 @@
-
-#include <sys/param.h>
-#include <stand.h>
-#include "promboot.h"
-
-/*
- * Open the device named by the combined device/file name
- * given as the "fname" arg, something like: "sd()bsd"
- *
- * However, Sun PROMs don't really let you choose which
- * device you will talk to. You can only open the device
- * that was used to load the boot program. Therefore, we
- * do not accept a "device" part in the "fname" string.
- * Pass the PROM device name to open in case it needs it.
- */
-int
-devopen(f, fname, file)
- struct open_file *f;
- const char *fname;
- char **file;
-{
- struct devsw *dp;
- char *cp, *path, *devname;
- int error;
-
- *file = (char*)fname;
- dp = &devsw[0];
- f->f_dev = dp;
- error = (*dp->dv_open)(f, prom_bootdev);
-
- return (error);
-}