[Asterisk-Dev] what's the value of a jiffie in zaptel driver ?

Dinesh Nair dinesh at alphaque.com
Mon Nov 22 02:11:21 MST 2004


On 22/11/2004 15:42 Steven Critchfield said the following:
> I'm going to make a quick, unverified guess. It should be the one
> defined in the linux kernel. Should be 100. 

which would mean that the code below in wcfxs_proslic_manual_calibrate() is 
waiting for 800ms.

	origjiffies=jiffies;
	while( wcfxs_getreg(wc,card,96)!=0 ){
		if((jiffies-origjiffies)>80)
			return -1;
	}

which seems rather long doesn't it ?



-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-dev mailing list