Re: [RFC 1/3] hvc_console: rework setup to replace irq functions with callbacks
From: Christian Borntraeger <hidden>
Date: 2008-06-04 11:16:33
Also in:
lkml, virtualization
From: Christian Borntraeger <hidden>
Date: 2008-06-04 11:16:33
Also in:
lkml, virtualization
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.