Subject: Re: Cloning network pseudo-devices
To: None <tech-net@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 07/03/2000 06:41:41
>> > i'm yet to try the code out myself, but does it mean "create" is
>> > mandatory for all cases for gif? I would like to see N gif devices
>> > to present on startup, with "pseudo-device gif N". it seems to
>> > me that gifattach() does nothing about "count" argument.
>>Yes, I suppose I could change it to do that. I guess that would make
>>it more consistent with interfaces that have not yet been changed to
>>support cloning...
> something like this?
> no "pseudo-device": no gif code in kernel
> "pseudo-device gif 0": no gif present, need "create"
> "pseudo-device gif 1": gif0 is present, need "create" for gif1 and up
> "pseudo-device gif 2": gif0 and gif1 are present
> we will need to change "#if NGIF > 0" in the code.
sorry, i needed some green tea :-)
gif.h will include "#define NGIF 0" for both "pseudo-device gif 0"
case and no pseudo-device line case...
itojun