Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 13:56:21 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Dennis <dennis@etinc.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: # of bpf devices 
Message-ID:  <200103282156.f2SLuLX02266@mass.dis.org>
In-Reply-To: Your message of "Wed, 28 Mar 2001 16:58:07 EST." <5.0.0.25.0.20010328165743.03e98220@mail.etinc.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > >It seems that only 256 bpf devices are supported. How painful would 
> > > > >it be to increase that number...I assume its an 8bit varable 
> > > > >somewhere? 
> > > > >Are there other caveats?
> > > >
> > > >It's pretty trivial.  Send a patch when you are done.
> > >
> > > I was hoping to get some useful insight before I looked into it..or if
> > > there was a sound reason for not expanding them. Im hopeful someone
> > > brighter will answer.
> >
> >You did.  "pretty trival".  I.E. will not take much work, and no good
> >reason not to expand them.  Since you've said so many times you can hack
> >your own system, sounds like PHK told you what you needed to know.
>
> What a helpful bunch. thanks.

Just ignore them.  I know it's hard, but once you get used to it, it'll 
hurt less.  Trust me on this one. 8)

Anyway, I just had a quick look, and I think that your basic problem is 
that MAKEDEV uses the wrong encoding for devices above 255.  This is 
fixed in -CURRENT, and if you bring back the unit2minor changes from 
there to -STABLE you should be in business.

If this works, please file a PR so that it gets fixed.

Thanks,
Mike

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103282156.f2SLuLX02266>