From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 25 16:21:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE9BF16A4CE for ; Thu, 25 Mar 2004 16:21:14 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8E643D53 for ; Thu, 25 Mar 2004 16:21:14 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i2Q0LEkj035630; Thu, 25 Mar 2004 17:21:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 25 Mar 2004 17:21:14 -0700 (MST) Message-Id: <20040325.172114.122028633.imp@bsdimp.com> To: b_oshea@yahoo.com From: "M. Warner Losh" In-Reply-To: <20040326001354.12104.qmail@web10504.mail.yahoo.com> References: <20040325.151344.122191629.imp@bsdimp.com> <20040326001354.12104.qmail@web10504.mail.yahoo.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Diagnosing unrecognized hardware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 00:21:15 -0000 In message: <20040326001354.12104.qmail@web10504.mail.yahoo.com> "Brian O'Shea" writes: : Hello Warner, : : --- "M. Warner Losh" wrote: : > : > Basically, you add it to sys/dev/pccard/pccarddevs, run make -f : > Makefile.pccarddevs in that directory, then add the line you talked : > about in your other email to if_wi_pccard.c. The first part of this : > is desirable reguardless of if if_wi supports this card or not. There : > was some other mail suggesting it was a 'flash-less' card needing : > firmware downloaded to it before it would work. : : Ok, the card is now recognized by the driver... : : wi0: at port 0x200-0x27f irq 10 function : 0 config 1 on pccard0 : : However (as Oleg Polyakov suggested), this still won't work because : the card doesn't have firmware. Here's what I see now: Yes. That's who I saw say something also. : wi0: timeout in wi_cmd 0x0000; event status 0x0000 : wi0: wi_cmd: busy bit won't clear: init failed : device_probe_and_attach: wi0 attach returned 6 Any other messages? : A quick search didn't turn up information on how to obtain : firmware and upload it to the card. D-Link has seems to have : a pretty good support web site, but nothing for FreeBSD (I wasn't : expecting anything). Is there something like Linux's prism2_srec : tool for uploading firmware onto these cards? Not currently as such. There's a primitive loader in the driver right now to deal with the symbol cards that need firmware uploaded to them. Also, the prism2_srec tool is generally for flashing new firmware, not RAM images (well, I should go look at it again, since I've not looked at it in a while). Warner