hi
i am new to rtl .I got the impression that there is only kernel wide
timer using which we have to implement timer API that is available in
linux.
time being I am using irq O to implement a single timer .The modules
for timer that i am using are given below.
I would like to have hint regarding initialization to be done while
requesting irq 0 in init_module().
void handler(struct pt_regs *regs)
{
rtl_hard_enable_irq(0);
return;
}
init_module()
{
rtl_request_irq(0,handler);
/* ????????????????????????????????
????????????????????????????????
????????????????????????????????
I would like to have hint regarding
what initialization has to be done for this
IRQ here
*/
rtl_hard_enable_irq(0);
}
cleanup_module()
{
rtl_free_irq(0);
}
Santosh Kumar Sood