Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2000 09:22:01 +0200 (METDST)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        jml@cubical.fi (Juha-Matti Liukkonen)
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: i4b 0.95 iwic driver
Message-ID:  <20000904072201.B34D2482C@hcswork.hcs.de>
In-Reply-To: <39B1FFD9.26336F1F@cubical.fi> from Juha-Matti Liukkonen at "Sep 3, 0 10:38:01 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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