diff options
author | natano <natano@cvs.openbsd.org> | 2016-02-26 09:10:06 +0000 |
---|---|---|
committer | natano <natano@cvs.openbsd.org> | 2016-02-26 09:10:06 +0000 |
commit | 1535032f24d1fd3dd2a272d51d16458b0e9203ee (patch) | |
tree | bad71c104b19175362c0e01e138338d169adf65a /sys/arch/landisk | |
parent | af60aaf068bc74837ccf13dd9e83acb1b914312d (diff) |
Remove stale RAIDframe entries from chrtoblktbl.
While there truncate the tables to the minimum required size; chrtoblk()
and blktochr() are designed to handle a table shorter than cdevsw.
"Looks good to me" deraadt@
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r-- | sys/arch/landisk/landisk/conf.c | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/sys/arch/landisk/landisk/conf.c b/sys/arch/landisk/landisk/conf.c index 07b2074f3cc..cd51b599f80 100644 --- a/sys/arch/landisk/landisk/conf.c +++ b/sys/arch/landisk/landisk/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.32 2015/10/23 15:10:52 claudio Exp $ */ +/* $OpenBSD: conf.c,v 1.33 2016/02/26 09:10:05 natano Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -426,51 +426,6 @@ int chrtoblktbl[] = { /* 24 */ 24, /* sd */ /* 25 */ 25, /* st */ /* 26 */ 26, /* cd */ - /* 27 */ NODEV, - /* 28 */ NODEV, - /* 29 */ NODEV, - /* 30 */ NODEV, - /* 31 */ NODEV, - /* 32 */ NODEV, - /* 33 */ NODEV, - /* 34 */ NODEV, - /* 35 */ NODEV, - /* 36 */ NODEV, - /* 37 */ NODEV, - /* 38 */ NODEV, - /* 39 */ NODEV, - /* 40 */ NODEV, - /* 41 */ NODEV, - /* 42 */ NODEV, - /* 43 */ NODEV, - /* 44 */ NODEV, - /* 45 */ NODEV, - /* 46 */ NODEV, - /* 47 */ NODEV, - /* 48 */ NODEV, - /* 49 */ NODEV, - /* 50 */ NODEV, - /* 51 */ NODEV, - /* 52 */ NODEV, - /* 53 */ NODEV, - /* 54 */ NODEV, - /* 55 */ NODEV, - /* 56 */ NODEV, - /* 57 */ NODEV, - /* 58 */ NODEV, - /* 59 */ NODEV, - /* 60 */ NODEV, - /* 61 */ NODEV, - /* 62 */ NODEV, - /* 63 */ NODEV, - /* 64 */ NODEV, - /* 65 */ NODEV, - /* 66 */ NODEV, - /* 67 */ NODEV, - /* 68 */ NODEV, - /* 69 */ NODEV, - /* 70 */ NODEV, - /* 71 */ 71, /* raid */ }; int nchrtoblktbl = nitems(chrtoblktbl); |