summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/dev_i386.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-23 06:49:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-23 06:49:08 +0000
commit33a3a7f4e585f86b6e90549315bca138b6301840 (patch)
treeacf42b35b5aa8867a83b4b05e70fe78a493bef85 /sys/arch/i386/stand/libsa/dev_i386.c
parentb245164bf0c4f7f325cbcae2aaca091626caaf94 (diff)
implement 'hd' device (i guess nobody will boot from 'rd')
Diffstat (limited to 'sys/arch/i386/stand/libsa/dev_i386.c')
-rw-r--r--sys/arch/i386/stand/libsa/dev_i386.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/dev_i386.c b/sys/arch/i386/stand/libsa/dev_i386.c
index bf1bd19cf2c..f433784d56f 100644
--- a/sys/arch/i386/stand/libsa/dev_i386.c
+++ b/sys/arch/i386/stand/libsa/dev_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_i386.c,v 1.9 1997/04/17 21:28:22 deraadt Exp $ */
+/* $OpenBSD: dev_i386.c,v 1.10 1997/04/23 06:49:07 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -37,9 +37,10 @@
extern int debug;
+/* XXX use slot for 'rd' for 'hd' pseudo-device */
const char bdevs[19][4] = {
"wd", "", "fd", "wt", "sd", "st", "cd", "mcd",
- "", "", "", "", "", "", "", "scd", "", "", "acd"
+ "", "", "", "", "", "", "", "scd", "", "hd", "acd"
};
/* pass dev_t to the open routines */