[RFC 1/3] hvc_console: rework setup to replace irq functions with callbacks

Christian Borntraeger borntraeger at de.ibm.com
Wed Jun 4 21:15:42 EST 2008


Am Mittwoch, 4. Juni 2008 schrieb Rusty Russell:
> Two questions.  Is it possible to make the timer backoff a third kind of 
> notifier?

I can try. The timer handling code is sprinkled a bit in hvc_console but it 
should be possible.

> And is it possible to make the dependency static, rather than  
> dynamic, or does someone need two options at runtime?

Not sure. Some drivers pass get the irq number from another component. If the 
number is 0, the console is poll driven, otherwise irq driven.



More information about the Linuxppc-dev mailing list