From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 13:17:50 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 3CC7416A4CE for ; Wed, 23 Mar 2005 13:17:50 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 120AE43D3F for ; Wed, 23 Mar 2005 13:17:49 +0000 (GMT) (envelope-from ph.schulz@gmx.de) Received: (qmail invoked by alias); 23 Mar 2005 13:17:47 -0000 Received: from dsl-084-056-233-020.arcor-ip.net (EHLO [192.168.1.5]) [84.56.233.20] by mail.gmx.net (mp027) with SMTP; 23 Mar 2005 14:17:47 +0100 X-Authenticated: #1954550 Message-ID: <42416C54.5010303@gmx.de> Date: Wed, 23 Mar 2005 14:17:08 +0100 From: Phil Schulz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050320 X-Accept-Language: de-de, en-us, en MIME-Version: 1.0 To: lourik@wtec.co.za References: <200503231509.19969.lourik@wtec.co.za> In-Reply-To: <200503231509.19969.lourik@wtec.co.za> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: freebsd-questions@freebsd.org Subject: Re: Wireless Network NDIS 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: Wed, 23 Mar 2005 13:17:50 -0000 On 03/23/05 14:09, Lourik Malan wrote: > HI there > > I get the following when i try an compile the following into the kernel. > > options NDISAPI > device ndis > device wlan > > /usr/src/sys/dev/if_ndis/if_ndis.c:85:30: ndis_driver_data.h: No such file or > directory > /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:66:30: ndis_driver_data.h: No such > file or directory > /usr/src/sys/dev/if_ndis/if_ndis_pci.c:65:30: ndis_driver_data.h: No such file > or directory > mkdep: compile failed > *** Error code 1 > >From ndis(4): "To build a functional driver, the user must have a copy of the driver distribution media for his or her card. From this distribution, the user must extract two files: the .SYS file containing the driver binary code, and its companion .INF file, which contains the definitions for driver-specific registry keys and other installation data such as device identifiers. These two files can be converted into a ndis_driver_data.h file using the ndiscvt(8) utility. This file contains a binary image of the driver plus registry key data. When the ndis driver loads, it will create sysctl(3) nodes for each registry key extracted from the .INF file." So, in short: You'll need to run the supplied Windows driver through ndiscvt(8) before you can build the ndis module. Regards, Phil.