Subject: port-pmax/5715: chrtoblktbl missing two entries in pmax/conf.c
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/06/1998 15:44:45
>Synopsis: chrtoblktbl in pmax's conf.c is missing two entries
>Responsible: gnats-admin (GNATS administrator)
>Arrival-Date: Mon Jul 6 14:50:01 1998
>Originator: Greg Oster
>Release: NetBSD-current, July 6, 1998
Noticed on a Pmax running NetBSD-current as of May 25/1998. Verified
that the bug is still present in -current as of July 6/1998.
The array chrtoblktbl in src/sys/arch/pmax/pmax/conf.c is missing a couple
of entries. In particular, the last two lines (corresponding to
the network tunnel (#93) and LKM's (#94)) are missing.
Add a new device to src/sys/arch/pmax/pmax/conf.c. Notice that
the cdevsw and chrtoblktbl arrays are not in sync.
I believe NODEV is correct for both. Someone more in the know
will want to verify this...
Update src/sys/arch/pmax/pmax/conf.c thusly:
diff -c conf.c.orig conf.c
*** conf.c.orig Mon Jul 6 15:07:01 1998
--- conf.c Mon Jul 6 15:09:54 1998
*** 417,422 ****
--- 417,424 ----
/* 90 */ NODEV,
/* 91 */ NODEV,
/* 92 */ NODEV,
+ /* 93 */ NODEV,
+ /* 94 */ NODEV,