From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 20:42:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE23516A41F for ; Wed, 28 Dec 2005 20:42:58 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A3A443D58 for ; Wed, 28 Dec 2005 20:42:57 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id jBSKgu1X083359; Wed, 28 Dec 2005 14:42:56 -0600 (CST) (envelope-from dan) Date: Wed, 28 Dec 2005 14:42:56 -0600 From: Dan Nelson To: Ray Seals Message-ID: <20051228204256.GG39217@dan.emsphone.com> References: <1135797945.645.8.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1135797945.645.8.camel@localhost> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: "freebsd-questions@freebsd.org" Subject: Re: Is there a Freebsd equivalent to this Linux header file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 20:42:58 -0000 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