Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 01:36:19 +0200
From:      "Doobee R . Tzeck" <drt@ailis.de>
To:        freebsd-isdn@freebsd.org
Subject:   ELSA PCFpro
Message-ID:  <20000714013619.A1671@malcolm.ailis.de>

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

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii

I own an ELSA PCFpro. To my knowledge, the ELSA PCC16 is a stripped down
Version on the PCFpro. 
By patching the card detection routine for the PPC16 I was able to use
the PPC16 driver for the PCFpro. This setup works now for 3 weeks.

I get sometimes
i4b-L1-isic_hscx_waitxfw: HSCX wait for XFW timeout!
but I don't know if this is related to my patch.

Perhaps this patch is useful for somebody else too.

drt

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="i4b-elsa-pcfpro.patch"

*** i4b/layer1/i4b_elsa_pcc16.c	Fri Jul 14 00:48:53 2000
--- i4b/layer1/i4b_elsa_pcc16.c	Fri Jul 14 00:50:45 2000
***************
*** 308,321 ****
  	if( ((HSCX_READ(0, H_VSTR) & 0xf) != 0x5) ||
              ((HSCX_READ(1, H_VSTR) & 0xf) != 0x5) )
  	{
! 		printf("isic%d: HSCX VSTR test failed for ELSA MicroLink ISDN/PCC-16\n",
! 			unit);
! 		printf("isic%d: HSC0: VSTR: %#x\n",
! 			unit, HSCX_READ(0, H_VSTR));
! 		printf("isic%d: HSC1: VSTR: %#x\n",
! 			unit, HSCX_READ(1, H_VSTR));
! 		isic_detach_Epcc16(dev);
! 		return (ENXIO);
  	}                   
  
  	/* get our irq */
--- 308,328 ----
  	if( ((HSCX_READ(0, H_VSTR) & 0xf) != 0x5) ||
              ((HSCX_READ(1, H_VSTR) & 0xf) != 0x5) )
  	{
! 		if( ((HSCX_READ(0, H_VSTR) & 0xf) != 0x85) ||
!         	    ((HSCX_READ(1, H_VSTR) & 0xf) != 0x85) )
! 		{
! 			printf("isic%d: HSCX VSTR test failed for ELSA MicroLink ISDN/PCC-16\n",
! 				unit);
! 			isic_detach_Epcc16(dev);
! 			printf("isic%d: HSC0: VSTR: %#x\n",
! 				unit, HSCX_READ(0, H_VSTR));
! 			printf("isic%d: HSC1: VSTR: %#x\n",
! 				unit, HSCX_READ(1, H_VSTR));
! 			return (ENXIO);
! 		}
! 		else
! 			printf("isic%d: ELSA MicroLink ISDN/PCFpro found, going to tread it as PCC-16\n",
! 				unit);
  	}                   
  
  	/* get our irq */

--wac7ysb48OaltWcw--


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?20000714013619.A1671>