summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/hp300
parentd6ac79ca8fef1b96e0d1ef86a00509cdeeb1503e (diff)
Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc and
sgi.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/conf.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c
index 8ffe6900093..f4ba8320e32 100644
--- a/sys/arch/hp300/hp300/conf.c
+++ b/sys/arch/hp300/hp300/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.42 2008/04/08 14:31:54 claudio Exp $ */
+/* $OpenBSD: conf.c,v 1.43 2008/05/14 20:49:48 miod Exp $ */
/* $NetBSD: conf.c,v 1.39 1997/05/12 08:17:53 thorpej Exp $ */
/*-
@@ -228,20 +228,20 @@ int chrtoblktbl[] = {
/* 4 */ NODEV,
/* 5 */ NODEV,
/* 6 */ NODEV,
- /* 7 */ 0,
- /* 8 */ 4,
- /* 9 */ 2,
+ /* 7 */ 0, /* ct */
+ /* 8 */ 4, /* sd */
+ /* 9 */ 2, /* hd */
/* 10 */ NODEV,
/* 11 */ NODEV,
/* 12 */ NODEV,
/* 13 */ NODEV,
/* 14 */ NODEV,
/* 15 */ NODEV,
- /* 16 */ NODEV,
- /* 17 */ 5,
- /* 18 */ 9,
- /* 19 */ 6,
- /* 20 */ 7,
+ /* 16 */ 1, /* mt */
+ /* 17 */ 5, /* ccd */
+ /* 18 */ 9, /* cd */
+ /* 19 */ 6, /* vnd */
+ /* 20 */ 7, /* st */
/* 21 */ NODEV,
/* 22 */ NODEV,
/* 23 */ NODEV,
@@ -255,7 +255,7 @@ int chrtoblktbl[] = {
/* 31 */ NODEV,
/* 32 */ NODEV,
/* 33 */ NODEV,
- /* 34 */ 8,
+ /* 34 */ 8, /* rd */
};
int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]);