Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2004 13:42:47 -0800 (PST)
From:      Brian O'Shea <b_oshea@yahoo.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Diagnosing unrecognized hardware
Message-ID:  <20040325214247.54677.qmail@web10506.mail.yahoo.com>
In-Reply-To: <20040322.152916.122686418.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <imp@bsdimp.com> wrote:
> In message: <20040322064114.75710.qmail@web10503.mail.yahoo.com>
>             "Brian O'Shea" <b_oshea@yahoo.com> writes:
> : pccard0: <unknown card> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040325214247.54677.qmail>