Subject: Re: Please review: cnmagic(9) for com(4)
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 06/16/2001 05:13:25
On Fri, Jun 15, 2001 at 18:10:34 -0700, cgd@sibyte.com wrote:
> > * Is -1 a good dummy for dev_t? (in com_kgdb_{get,put}c).
>
> I've not read your diff, but do you think 'NODEV' is OK for your
> purposes? (see sys/param.h)
Yes, it's what I've been looking for (not eager enough, apparently :)
Thanks.
> If it's not OK... i strongly suggest you avoid -1 (since that's the
> value of NODEV 8-).
:)
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen