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/mvmeppc | |
parent | d6ac79ca8fef1b96e0d1ef86a00509cdeeb1503e (diff) |
Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc and
sgi.
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/conf.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/conf.c b/sys/arch/mvmeppc/mvmeppc/conf.c index 165baf95c67..3d16db4c5a2 100644 --- a/sys/arch/mvmeppc/mvmeppc/conf.c +++ b/sys/arch/mvmeppc/mvmeppc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.22 2008/04/08 14:31:54 claudio Exp $ */ +/* $OpenBSD: conf.c,v 1.23 2008/05/14 20:49:48 miod Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -62,7 +62,7 @@ struct bdevsw bdevsw[] = { bdev_disk_init(NSD,sd), /* 2 SCSI Disk */ bdev_disk_init(NCD,cd), /* 3 SCSI CD-ROM */ bdev_notdef(), /* 4 unknown*/ - bdev_notdef(), /* 5 unknown*/ + bdev_tape_init(NST,st), /* 5 SCSI tape */ bdev_notdef(), /* 6 unknown*/ bdev_notdef(), /* 7 unknown*/ bdev_lkm_dummy(), /* 8 */ @@ -225,19 +225,19 @@ int chrtoblktbl[] = { /* 5 */ NODEV, /* 6 */ NODEV, /* 7 */ NODEV, - /* 8 */ 2, - /* 9 */ NODEV, + /* 8 */ 2, /* sd */ + /* 9 */ 3, /* cd */ /* 10 */ NODEV, - /* 11 */ 0, + /* 11 */ 0, /* wd */ /* 12 */ NODEV, - /* 13 */ 4, + /* 13 */ NODEV, /* 14 */ NODEV, /* 15 */ NODEV, /* 16 */ NODEV, - /* 17 */ 17, - /* 18 */ NODEV, - /* 19 */ NODEV, - /* 20 */ NODEV, + /* 17 */ 17, /* rd */ + /* 18 */ 16, /* ccd */ + /* 19 */ 14, /* vnd */ + /* 20 */ 5, /* st */ /* 21 */ NODEV, /* 22 */ NODEV, /* 23 */ NODEV, @@ -271,7 +271,7 @@ int chrtoblktbl[] = { /* 51 */ NODEV, /* 52 */ NODEV, /* 53 */ NODEV, - /* 54 */ 19, + /* 54 */ 19, /* raid */ }; int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]); |