From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 15 22:27:53 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 47DE916A41F for ; Tue, 15 Nov 2005 22:27:53 +0000 (GMT) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15F3D43D77 for ; Tue, 15 Nov 2005 22:27:45 +0000 (GMT) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45] (may be forged)) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id jAFMRj9H070572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Nov 2005 14:27:45 -0800 (PST) (envelope-from dirkx@webweaving.org) Received: from localhost (dirkx@localhost) by skutsje.san.webweaving.org (8.12.9/8.12.9/Submit) with ESMTP id jAFMRjCf070569 for ; Tue, 15 Nov 2005 14:27:45 -0800 (PST) (envelope-from dirkx@webweaving.org) X-Authentication-Warning: skutsje.san.webweaving.org: dirkx owned process doing -bs Date: Tue, 15 Nov 2005 14:27:45 -0800 (PST) From: Dirk-Willem van Gulik X-X-Sender: dirkx@skutsje.san.webweaving.org To: freebsd-hackers@freebsd.org In-Reply-To: <20051112072658.Q14448@skutsje.san.webweaving.org> Message-ID: <20051115142431.I40829@skutsje.san.webweaving.org> References: <20051112072658.Q14448@skutsje.san.webweaving.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Works: Sierra Wireless / AC775 / Loading an external cisfile as a 'quick' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 22:27:53 -0000 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 },