From owner-freebsd-isdn Mon Sep 4 0:22: 7 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with ESMTP id 4FC7337B423 for ; Mon, 4 Sep 2000 00:22:04 -0700 (PDT) Received: from hcswork.hcs.de (hcswork.hcs.de [192.76.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id E7C185D3E; Mon, 4 Sep 2000 09:22:01 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id B34D2482C; Mon, 4 Sep 2000 09:22:01 +0200 (METDST) Subject: Re: i4b 0.95 iwic driver In-Reply-To: <39B1FFD9.26336F1F@cubical.fi> from Juha-Matti Liukkonen at "Sep 3, 0 10:38:01 am" To: jml@cubical.fi (Juha-Matti Liukkonen) Date: Mon, 4 Sep 2000 09:22:01 +0200 (METDST) Cc: freebsd-isdn@freebsd.org Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1649 Message-Id: <20000904072201.B34D2482C@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From the keyboard of Juha-Matti Liukkonen: > thanks, Hellmuth and all the others contributing to this new i4b > release. The iwic driver in particular seems to work nicely... The > following patch is required to make the driver recognize cards with > vendor id 0xffffffff though, such as the Telewell el-cheapos (common in > Finland): I knew i forgot something there ... :-) Would you please try this one instead: *** i4b_iwic_pci.c-OLD Mon Sep 4 09:18:48 2000 --- i4b_iwic_pci.c Mon Sep 4 09:17:50 2000 *************** *** 31,37 **** * * $FreeBSD$ * ! * last edit-date: [Mon Sep 4 09:21:57 2000] * *---------------------------------------------------------------------------*/ --- 31,37 ---- * * $FreeBSD$ * ! * last edit-date: [Mon Sep 4 09:17:50 2000] * *---------------------------------------------------------------------------*/ *************** *** 158,166 **** struct winids *wip = win_ids; ! while(wip->type && ! ((wip->type != type) || (wip->sv != sv) || (wip->sd != sd))) { ++wip; } --- 158,171 ---- struct winids *wip = win_ids; ! while(wip->type) { + if((wip->type == type) + { + if(((wip->sv == -1) && (wip->sd == -1)) || + ((wip->sv == sv) && (wip->sd == sd))) + break; + } ++wip; } hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message