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/i386 | |
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/i386')
-rw-r--r-- | sys/arch/i386/i386/conf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c index 03e2298e12c..75082038ecf 100644 --- a/sys/arch/i386/i386/conf.c +++ b/sys/arch/i386/i386/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.153 2016/02/05 06:29:01 uebayasi Exp $ */ +/* $OpenBSD: conf.c,v 1.154 2016/02/26 09:10:04 natano Exp $ */ /* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */ /* @@ -380,13 +380,6 @@ int chrtoblktbl[] = { /* 45 */ NODEV, /* 46 */ NODEV, /* 47 */ 17, /* rd */ - /* 48 */ NODEV, - /* 49 */ NODEV, - /* 50 */ NODEV, - /* 51 */ NODEV, - /* 52 */ NODEV, - /* 53 */ NODEV, - /* 54 */ 19, /* raid */ }; int nchrtoblktbl = nitems(chrtoblktbl); |