On 2/22/07, DAK GHATIKACHALAM <[EMAIL PROTECTED]> wrote:

On 2/21/07, Coleman Kane <[EMAIL PROTECTED]> wrote:
>
> On 2/18/07, DAK GHATIKACHALAM <[EMAIL PROTECTED]> wrote:
>
> > Hi Freebsd
> >
> >
> > I have an issue with new card I need to make it work with freebsd,
> >
> >
> > on /var/log/messages I get
> >
> >
> > Feb 18 20:51:55 DAK kernel: pccard0: <unknown card>
> > (manufacturer=0x0192,
> > produc
> > t=0x0710, function_type=6) at function 0
> > Feb 18 20:51:55 DAK kernel: pccard0:    CIS info: Sierra Wireless,
> > AC860, 3G
> > Net
> > work Adapter, R1
> >
> >
> > For some reason  I dont understand why I get unknown card error
> >
> > Does any one has idea
> >
> >
> > Thanks
> > Dak
>
>
>
> This is a 3G wireless card (not Wi-Fi)... apparently it is supposed to
be
> supported by the uart or sio drivers. You should try searching google
for:
> freebsd "sierra wireless" AC860
>
> There are apparently some sort of changes to the kernel that need to be
> made.
>

Thanks a lot for your input.

Yes I have made changes to /usr/src/sys/dev/pccard/pccard_quirks.c  file
added a static struct

static struct pccard_function pccard_sierra_860_func0 = {
        6,                      /* function number */
        PCCARD_FUNCTION_SERIAL,
        0x0006,                 /* last cfe number */
        0x00,                   /* ccr_base */
        0x07,                   /* ccr_mask */
};

static struct pccard_config_entry pccard_sierra_860_func0_cfe0 = {
        0x0006,                 /* cfe number */
        PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL,
        PCCARD_IFTYPE_IO,
        1,                      /* num_iospace */
        3,                      /* iomask */
        { { 0x3e8 , 0x3ee } },  /* iospace */
        0x3fbc,                 /* irqmask */
        0,                      /* num_memspace */
        { },                    /* memspace */
        0,                      /* maxtwins */
};

and as well /usr/src/sys/dev/pccard/pccarddevs file

vendor SIERRA                   0x0192  Sierra Wireless
/* Sierra Wireless */
product SIERRA WIRELESS         0x0710 Sierra Wireless Card

I added these  the pccard device driver detects my card but

on the detection of the card while booting the laptop  on tI get he
console
I get

Feb 22 22:51:12 DAK kernel: pccard0: Allocation failed for cfe 6
Feb 22 22:51:12 DAK kernel: pccard0: No config entry could be allocated.

errors
Do you have idea why  I am getting there errors


Thanks
Dak


--
> Coleman
>
>
>


It's been awhile for me and debugging cardbus/pcmcia devices. Maybe try
changing the CFE number is the second struct to any of 0,1,2,3,4,5 ?

--coleman
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to