From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 10:03:58 2005 Return-Path: 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 3EBDA16A4CE for ; Tue, 15 Mar 2005 10:03:58 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C66543D46 for ; Tue, 15 Mar 2005 10:03:57 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 23500 invoked from network); 15 Mar 2005 10:03:54 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.28.226]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 15 Mar 2005 10:03:54 -0000 Date: Tue, 15 Mar 2005 11:04:04 +0100 From: Fabian Keil To: freebsd-questions Message-ID: <20050315110404.3f07df63@localhost> In-Reply-To: <20050311200303.73bc0f77@localhost> References: <422a3b4c.6460c00f.48d7.412b@smtp.gmail.com> <20050306195438.29f69e9d@localhost> <20050311200303.73bc0f77@localhost> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: gabriel Subject: Re: D-Link NIC. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 10:03:58 -0000 Fabian Keil wrote: > gabriel wrote: > > > Thats a good script. How did you install the ndis driver/wrapper? - > > Cause I think some of the problem may be there. > > I copied the files "w22n50.sys" and "w22n51.inf" out of the > Windows partition to /usr/src/sys/modules/if_ndis, > > ndiscvt -i w22n51.inf -s w22n50.sys ndis_driver_data.h > make install > > did the rest. After updating to 5.4-PRERELEASE yesterday and trying to rebuild if_ndis, I noticed that the above is incomplete. The correct way to generate the ndis_driver_data.h is: ndiscvt -i w22n51.inf -s w22n50.sys -o ndis_driver_data.h Otherwise the header is printed to stdout. Regards Fabian -- http://www.fabiankeil.de