From owner-freebsd-current@FreeBSD.ORG Sun Nov 26 06:14:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3BC916A415 for ; Sun, 26 Nov 2006 06:14:36 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC66143D53 for ; Sun, 26 Nov 2006 06:13:43 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so866026uge for ; Sat, 25 Nov 2006 22:14:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dmGQ6qYTvfYF5M79o25KeMa2iosGjYz000+0TfJl4yo5gUGUv61VSt9GfZFRQgYRxQSNdKwRqce4jsEmtUlvMtr1R0NFZu1UwoJudpz2ePceK8r+6rFd0HOiiGFf83Gt7Yc3n7+kfFr4fTekfryR50F60nDMoAxTtA4HyHTUWSc= Received: by 10.67.119.9 with SMTP id w9mr10220208ugm.1164521674669; Sat, 25 Nov 2006 22:14:34 -0800 (PST) Received: by 10.67.86.8 with HTTP; Sat, 25 Nov 2006 22:14:34 -0800 (PST) Message-ID: <790a9fff0611252214w4a00f7bdpa5e5c7efe45620fd@mail.gmail.com> Date: Sun, 26 Nov 2006 00:14:34 -0600 From: "Scot Hetzel" To: "Rainer Alves" In-Reply-To: <45692360.3080602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0611251051md2ef50cja84440ba3cc7942f@mail.gmail.com> <4568DB59.7070407@gmail.com> <45692360.3080602@gmail.com> Cc: Bill Paul , FreeBSD-CURRENT Subject: Re: Latest Broadcom NDIS driver requires 4 additional functions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 06:14:36 -0000 On 11/25/06, Rainer Alves wrote: > Rainer Alves wrote: > > Scot Hetzel wrote: > >> I'm trying to upgrade my ndis driver from version 3.100.64.0 to > >> 4.40.19.0, but when I try to load the driver I get a Fatal trap 12 > >> error. > >> [...] > > However under FreeBSD + NDIS, the led is always red and the chip is > > never properly activated. > > Replying to myself, the new driver works... I get a "no match for > MmGetPhysicalAddress" when kldload'ing, a "fpudna in kernel mode" when > doing a ifconfig, but overrall it works fine. > Thanks for the hint. > It works, but when I do a scan with ifconfig it returns with: # ifconfig ndis0 scan ifconfig: unable to get scan results # ifconfig ndis0 list scan ifconfig: unable to get scan results But using the wpa_cli, and doing a scan and scan_results, does display the wireless networks. I implemented the MmGetPhysicalAddress using pmap_kextract, as it didn't like using the vtophy macro when compiling ntoskrnl.c. Just add IMPORT_SFUNC_MAP(MmGetPhysicalAddress, pmap_kextract, 1) to ntoskrnl.c, and remove everything in the #ifdef MMGETPHYSICALADDRESS .. #endif. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.