Subject: port-pmax/5715: chrtoblktbl missing two entries in pmax/conf.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <oster@cs.usask.ca>
List: netbsd-bugs
Date: 07/06/1998 15:44:45
>Number: 5715
>Category: port-pmax
>Synopsis: chrtoblktbl in pmax's conf.c is missing two entries
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 6 14:50:01 1998
>Last-Modified:
>Originator: Greg Oster
>Organization:
>Release: NetBSD-current, July 6, 1998
>Environment:
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.
>Description:
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.
>How-To-Repeat:
Add a new device to src/sys/arch/pmax/pmax/conf.c. Notice that
the cdevsw and chrtoblktbl arrays are not in sync.
>Fix:
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,
};
/*
>Audit-Trail:
>Unformatted: