Subject: Re: Changing the PHY status reporting
To: None <tech-net@netbsd.org>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: tech-net
Date: 02/19/2006 22:44:38
On Sun, Feb 19, 2006 at 09:04:58PM +0100, joerg@britannica.bec.de wrote:
> On Sun, Feb 19, 2006 at 07:47:50PM +0000, Christos Zoulas wrote:
> > >I agree with Joerg here. We could make it so the user can choose an
> > >appropiate number.
> > 
> > Just make it a sysctl :-) Then the user can choose...
> 
> I'm not sure whether messing with inetsw at run-time is such a good
> idea.

There must be an ioctl to set the vhid, password and so on. Let's extend
the ioctl to specify also the protocol number. ifconfig could then read the
protocol number from /etc/protocols and tell it to the kernel driver this
way.

Pavel