[asterisk-dev] Re: Kernel modules => mainline kernel
Benny Amorsen
benny+usenet at amorsen.dk
Wed Feb 14 01:49:16 MST 2007
>>>>> "OP" == Oron Peled <oron at actcom.co.il> writes:
OP> On Wednesday, 14 בFebruary 2007 01:40, Benny Amorsen wrote:
>> >>>>> "OP" == Oron Peled <oron at actcom.co.il> writes:
OP> A host with several cards of different types (drivers) would have
OP> multiple 1000 interrupts/sec.
>> Why? Just turn off interrupts on all the cards, and poll them
>> every 1ms. Then you can call zt_transmit and zt_receive on all of
>> them in order.
OP> In *different* drivers? Can you elaborate how one driver can poll
OP> cards handled by a different driver?
True, one driver can't poll another drivers cards. Each driver can
hang off the same timer interrupt though (by using the kernel timing
infrastructure).
OP> That's why my original post highlighted the lack of a global
OP> zaptel "tick" that calls the low level drivers.
OP> Such (not existing yet) mechanism would make your claim valid.
The mechanism is the generic kernel timing infrastructure.
/Benny
More information about the asterisk-dev
mailing list