From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 25 13:42:48 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 785D216A4CF for ; Thu, 25 Mar 2004 13:42:48 -0800 (PST) Received: from web10506.mail.yahoo.com (web10506.mail.yahoo.com [216.136.130.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 53C7B43D3F for ; Thu, 25 Mar 2004 13:42:48 -0800 (PST) (envelope-from b_oshea@yahoo.com) Message-ID: <20040325214247.54677.qmail@web10506.mail.yahoo.com> Received: from [156.153.254.42] by web10506.mail.yahoo.com via HTTP; Thu, 25 Mar 2004 13:42:47 PST Date: Thu, 25 Mar 2004 13:42:47 -0800 (PST) From: Brian O'Shea To: "M. Warner Losh" In-Reply-To: <20040322.152916.122686418.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Thu, 25 Mar 2004 21:42:48 -0000 Hello Warner, et al, It looks like I need to add the following lines to /usr/src/sys/dev/pccard/pccarddevs.h: #define PCMCIA_PRODUCT_DLINK_DWL650 0xffffffff #define PCMCIA_CIS_DLINK_DWL650 { "D-Link", \ "DWL-650 Wireless PC Card RevP ISL37101P-10", NULL, NULL } #define PCMCIA_STR_DLINK_DWL650 "D-Link DWL-650" (I'm guessing on most of these fields based on entries for other cards) And then to the wi_pccard_products[] array: static const struct pccard_product wi_pccard_products[] = { ... PCMCIA_CARD(DLINK, DWL650, 0), ... }; The CIS info for this device includes a product id, which is 0x7110. Where does this need to be specified? It seems to me that the product id is necessary in order to identify the card. Anyhow, I'm building a kernel with the above additions and we'll see how it goes. Thanks for all your help. I'll let you know how it goes, and if it works, I'll post a diff (from -CURRENT). -brian --- "M. Warner Losh" wrote: > In message: <20040322064114.75710.qmail@web10503.mail.yahoo.com> > "Brian O'Shea" writes: > : pccard0: (manufacturer=0x000b, product=0x7110) at function 0 > : pccard0: CIS info: D-Link, DWL-650 Wireless PC Card RevP, ISL37101P-10 > > Looks like this isn't a supported card. You can add it to > if_wi_pccard.c and see if that helps. Changes are good that this > isn't a wi card, but I could be wrong. > > Warner __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html