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

From: Christian Borntraeger
Date: Wed Jun 04 2008 - 07:16:33 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/