From owner-freebsd-questions@FreeBSD.ORG Sat Jan 8 02:35:54 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 38FE616A4CE for ; Sat, 8 Jan 2005 02:35:54 +0000 (GMT) Received: from web53601.mail.yahoo.com (web53601.mail.yahoo.com [206.190.37.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A05843D53 for ; Sat, 8 Jan 2005 02:35:53 +0000 (GMT) (envelope-from flexble2547@yahoo.com) Received: (qmail 41467 invoked by uid 60001); 8 Jan 2005 02:35:53 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=HU7TA1jrrGYC8ytRDsBpyBLWNFeFY6L8fN6v7BPL57XefoOk9r6wbcnbS2i27c5nrKpM7t/+6RsitUa3GIpuK+Ha+5z1SSMasTXQP9PPYkIjx7GQ3woHyGszLNkXnF4Ioen+qQ4YhPv2tB1ebvdIfZcl9g664wC5vj47zoIIWAQ= ; Message-ID: <20050108023553.41465.qmail@web53601.mail.yahoo.com> Received: from [68.100.166.16] by web53601.mail.yahoo.com via HTTP; Fri, 07 Jan 2005 18:35:53 PST Date: Fri, 7 Jan 2005 18:35:53 -0800 (PST) From: scott renna To: Lowell Gilbert In-Reply-To: <44wtutszxm.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: NDISAPI in the kernel 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: Sat, 08 Jan 2005 02:35:54 -0000 Thanks for the help Lowell. It happened to be I needed to make another change that, after searching a bit more, located. It's in the kernel and it's running flawlessly. There are no more intermittent drops in connectivity as there were when I was using the atheros driver. Same exact configuration on ndis0 as was on ath0, but running on the NDIS drivers it runs much better. --- Lowell Gilbert wrote: > scott renna writes: > > > I saw another user post about issues compiling in > ndis > > support into the kernel for FreeBSD 5.3. I'm also > > having an issue. I've gotten both if_ndis and > ndis > > kernel modules to load and I have connectivity to > the > > box, but I'd like to have ndis be permanent. > > You could just have the loader automatically load > the module for you > at boot time... > > > I've added the following to my kernel: > > > > options NDISAPI > > device ndis > > device wlan (this was already present in the > > default) > > > > Here's the issue I run into: > > > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | > > MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f > .newdep -O > > -pipe -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes > > -Wpointer-arith -Winline -Wcast-qual > > -fformat-extensions -std=c99 -nostdinc -I- -I. > > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > > -I/usr/src/sys/contrib/altq > > -I/usr/src/sys/contrib/ipfilter > > -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/contrib/dev/ath > > -I/usr/src/sys/contrib/dev/ath/freebsd > > -I/usr/src/sys/contrib/ngatm -D_KERNEL -include > > opt_global.h -fno-common -finline-limit=8000 > --param > > inline-unit-growth=100 --param > > large-function-growth=1000 > -mno-align-long-strings > > -mpreferred-stack-boundary=2 -ffreestanding > > /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_pci.c:65:30: > > ndis_driver_data.h: No such file or directory > > mkdep: compile failed > > *** Error code 1 > > > > the file, ndis_driver_data.h is present in: > > > > /usr/src/sys/compat/ndis/ndis_driver_data.h > > /usr/src/sys/dev/if_ndis/ndis_driver_data.h > > /usr/src/sys/modules/if_ndis/ndis_driver_data.h > > > > Where else might i put a copy of this file so the > > kernel can build itself? > > Any of the directories listed as "-I" options in the > output quoted > above should serve. I don't have that file in my > tree at all. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250