summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-14 20:49:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-14 20:49:49 +0000
commit0c9d5e7f909a8270b809112e9890e25bba274157 (patch)
tree09c19b53f2e081c6dea3a4c9f4cd028d90ae87dd /sys/arch/luna88k
parentd6ac79ca8fef1b96e0d1ef86a00509cdeeb1503e (diff)
Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc and
sgi.
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/luna88k/conf.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/arch/luna88k/luna88k/conf.c b/sys/arch/luna88k/luna88k/conf.c
index 5eca138aeca..9a3a3671afb 100644
--- a/sys/arch/luna88k/luna88k/conf.c
+++ b/sys/arch/luna88k/luna88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.8 2008/04/08 14:31:54 claudio Exp $ */
+/* $OpenBSD: conf.c,v 1.9 2008/05/14 20:49:48 miod Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -211,8 +211,8 @@ int chrtoblktbl[] = {
/* 5 */ NODEV,
/* 6 */ NODEV,
/* 7 */ NODEV,
- /* 8 */ 4, /* SCSI disk */
- /* 9 */ 6, /* SCSI CD-ROM */
+ /* 8 */ 4, /* sd */
+ /* 9 */ 6, /* cd */
/* 10 */ NODEV,
/* 11 */ NODEV,
/* 12 */ NODEV,
@@ -220,8 +220,9 @@ int chrtoblktbl[] = {
/* 14 */ NODEV,
/* 15 */ NODEV,
/* 16 */ NODEV,
- /* 17 */ NODEV,
- /* 18 */ 7, /* ram disk */
- /* 19 */ 8, /* vnode disk */
+ /* 17 */ 9, /* ccd */
+ /* 18 */ 7, /* rd */
+ /* 19 */ 8, /* vnd */
+ /* 20 */ 5, /* st */
};
int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]);