From owner-freebsd-isdn Sun Sep 3 0:36:36 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from kauha.saunalahti.fi (kauha.saunalahti.fi [195.197.53.227]) by hub.freebsd.org (Postfix) with ESMTP id 0D77537B422 for <freebsd-isdn@freebsd.org>; Sun, 3 Sep 2000 00:36:33 -0700 (PDT) Received: from snafu.intra.net (cubical3.pp.saunalahti.fi [195.74.24.254]) by kauha.saunalahti.fi (8.10.1/8.10.1) with ESMTP id e837crJ00188 for <freebsd-isdn@freebsd.org>; Sun, 3 Sep 2000 10:38:53 +0300 (EEST) Received: from cubical.fi (junkyard.intra.net [192.168.2.2]) by snafu.intra.net (8.9.3/8.9.3) with ESMTP id KAA01016 for <freebsd-isdn@freebsd.org>; Sun, 3 Sep 2000 10:36:34 +0300 (EEST) (envelope-from jml@cubical.fi) Message-ID: <39B1FFD9.26336F1F@cubical.fi> Date: Sun, 03 Sep 2000 10:38:01 +0300 From: Juha-Matti Liukkonen <jml@cubical.fi> Organization: Cubical Solutions Ltd X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isdn@freebsd.org Subject: i4b 0.95 iwic driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, 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): --- layer1-nb/iwic/i4b_iwic_pci.c.orig Fri Jun 2 14:58:56 2000 +++ layer1-nb/iwic/i4b_iwic_pci.c Sun Sep 3 10:25:43 2000 @@ -126,15 +126,15 @@ static struct winids { u_int32_t type; - int sv; - int sd; + u_int32_t sv; + u_int32_t sd; const char *desc; } win_ids[] = { - { 0x66921050, -1, -1, "Generic Winbond W6692 ISDN PCI (0x66921050)" }, - { 0x17020675, -1, -1, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17020675)" }, - { 0x17030675, -1, -1, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17030675)" }, - { 0x17070675, -1, -1, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17070675)" }, - { 0x105e10cf, -1, -1, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x105e10cf)" }, + { 0x66921050, 0xffff, 0xffff, "Generic Winbond W6692 ISDN PCI (0x66921050)" }, + { 0x17020675, 0xffff, 0xffff, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17020675)" }, + { 0x17030675, 0xffff, 0xffff, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17030675)" }, + { 0x17070675, 0xffff, 0xffff, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x17070675)" }, + { 0x105e10cf, 0xffff, 0xffff, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x105e10cf)" }, { 0x06751043, 0x144F, 0x2000, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x06751043)" }, { 0x06751043, 0x144F, 0x1702, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x06751043)" }, { 0x06751043, 0x144F, 0x1707, "ASUSCOM P-IN100-ST-D (Winbond W6692, 0x06751043)" }, -- Juha-Matti Liukkonen, Cubical Solutions Ltd Phone: +358(0)405280142 Email: jml@cubical.fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message