Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 14:27:45 -0800 (PST)
From:      Dirk-Willem van Gulik <dirkx@webweaving.org>
To:        freebsd-hackers@freebsd.org
Subject:   Works: Sierra Wireless / AC775 / Loading an external cisfile as a 'quick'
Message-ID:  <20051115142431.I40829@skutsje.san.webweaving.org>
In-Reply-To: <20051112072658.Q14448@skutsje.san.webweaving.org>
References:  <20051112072658.Q14448@skutsje.san.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help

For reasons unclear to me; the standard sio0 address 0x3f8 gets in the way
even if there is absolutely nothing on that address. It is almost as if
the BIOS wispers it in the ear of the kernel even when disabled. Not sure
where the kernel gets this from.

But in any case; moving it up to the COM3 address solves that issue
completely. With the patch below (and increasing the cp4ticks by at least
a 10 fold) makes the Sierra Wireless 775 AirConnect card work; in EDGE and
in GPRS mode with decent speed (Telfort, the Netherlands)

Thanks for all the help !

Dw.

root@builld-jv# diff /sys/dev/pccard/pccard_cis_quirks.c.org /sys/dev/pccard/pccard_cis_quirks.c
4c4
< __FBSDID("$FreeBSD:
/repoman/r/ncvs/src/sys/dev/pccard/pccard_cis_quirks.c,v 1.15.2.1
2005/09/27 18:42:20 imp Exp $");
---
> __FBSDID("$FreeBSD: src/sys/dev/pccard/pccard_cis_quirks.c,v 1.16
2005/09/20 10:25:51 glebius Exp $");
182a183,214
> static struct pccard_function pcmcia_sierra_a555_func1 = {
>       1,                      /* function number */
>       PCCARD_FUNCTION_SERIAL,
>       0x24,                   /* last cfe number */
>       0x700,                  /* ccr_base */
>       0x73,                   /* ccr_mask */
> };
>
> static struct pccard_config_entry pcmcia_sierra_a555_func1_cfe0 = {
>       // 0x20,                        /* cfe number */
>       0x22,                   /* cfe number */
>       PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL, PCCARD_IFTYPE_IO,
>       1,                      /* num_iospace */
>       0,                      /* iomask */
>       // { { 0x0008, 0x3f8 } },       /* iospace */
>       { { 0x0008, 0x3e8 } },  /* iospace */
>       0x3fbc,                 /* irqmask */
>       0,                      /* num_memspace */
>       { },                    /* memspace */
>       0,                      /* maxtwins */
> };
> /* Sierra */
> #define       PCMCIA_VENDOR_SIERRA    0x0192
> #define       PCMCIA_CIS_SIERRA_AC710 { NULL, NULL, NULL, NULL }
> #define       PCMCIA_PRODUCT_SIERRA_AC710     0x0710
> #define       PCMCIA_CIS_SIERRA_A550  { NULL, NULL, NULL, NULL }
> #define       PCMCIA_PRODUCT_SIERRA_A550      0xa550
> #define       PCMCIA_CIS_SIERRA_A555  { NULL, NULL, NULL, NULL }
> #define       PCMCIA_PRODUCT_SIERRA_A555      0xa555
> #define       PCMCIA_CIS_SIERRA_A710  { NULL, NULL, NULL, NULL }
> #define       PCMCIA_PRODUCT_SIERRA_A710      0xa710
>
183a216,227
>       { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A550,
>         PCMCIA_CIS_INVALID,
>         &pcmcia_sierra_a555_func1, &pcmcia_sierra_a555_func1_cfe0 },
>       { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A555,
>         PCMCIA_CIS_INVALID,
>         &pcmcia_sierra_a555_func1, &pcmcia_sierra_a555_func1_cfe0 },
>       { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A710,
>         PCMCIA_CIS_INVALID,
>         &pcmcia_sierra_a555_func1, &pcmcia_sierra_a555_func1_cfe0 },
>       { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC710,
>         PCMCIA_CIS_INVALID,
>         &pcmcia_sierra_a555_func1, &pcmcia_sierra_a555_func1_cfe0 },




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