diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-14 20:49:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-14 20:49:49 +0000 |
commit | 0c9d5e7f909a8270b809112e9890e25bba274157 (patch) | |
tree | 09c19b53f2e081c6dea3a4c9f4cd028d90ae87dd /sys/arch/aviion | |
parent | d6ac79ca8fef1b96e0d1ef86a00509cdeeb1503e (diff) |
Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc and
sgi.
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r-- | sys/arch/aviion/aviion/conf.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/arch/aviion/aviion/conf.c b/sys/arch/aviion/aviion/conf.c index 892a52af789..26f239f339f 100644 --- a/sys/arch/aviion/aviion/conf.c +++ b/sys/arch/aviion/aviion/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.5 2008/04/08 14:31:54 claudio Exp $ */ +/* $OpenBSD: conf.c,v 1.6 2008/05/14 20:49:48 miod Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -202,8 +202,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, @@ -211,16 +211,10 @@ int chrtoblktbl[] = { /* 14 */ NODEV, /* 15 */ NODEV, /* 16 */ NODEV, - /* 17 */ NODEV, - /* 18 */ 7, /* ram disk */ - /* 19 */ 8, /* vnode disk */ - /* 20 */ NODEV, - /* 21 */ NODEV, - /* 22 */ NODEV, - /* 23 */ NODEV, - /* 24 */ NODEV, - /* 25 */ NODEV, - /* 26 */ 10, /* XD disk */ + /* 17 */ 9, /* ccd */ + /* 18 */ 7, /* rd */ + /* 19 */ 8, /* vnd */ + /* 20 */ 5, /* st */ }; int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]); |