Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 14:42:56 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ray Seals <rseals@vdsi.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Is there a Freebsd equivalent to this Linux header file
Message-ID:  <20051228204256.GG39217@dan.emsphone.com>
In-Reply-To: <1135797945.645.8.camel@localhost>
References:  <1135797945.645.8.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 28), Ray Seals said:
> I'm not a programmer, but I trying to learn a few things.  I have a
> Niagara 2261 pass through nic and I need to change it's operating
> mode. It came with the source code and header files for a command
> line utility which allows me to change operation modes on the card. 
> Along with the documentation.
> 
> The card is recognized under the 'em' network driver.
> 
> I have all the errors down except for one.  The error is
> 'SIOCDEVPRIVATE' undeclared (first use in this function).

That's probably a Linux-specific ioctl.  Chances are that FreeBSD's
ifconfig command will do what you want (so its sources are a good place
to start looking); what do you mean by "change it's operating mode"?

-- 
	Dan Nelson
	dnelson@allantgroup.com



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