Re: initcall ordering of driver w/respect to tty_init?

From: Miles Bader
Date: Fri Oct 10 2003 - 13:17:47 EST


On Fri, Oct 10, 2003 at 08:02:12AM -0700, Randy.Dunlap wrote:
> | I have a tty driver, arch/v850/kernel/simcons.c, who's init function is
> | called via __initcall:
>
> Does it help/work to change it to a console_initcall() ?

I think that would solve the problem, but is it the right solution? How
about all those other drivers that call tty_register_driver? module_init
becomes __initcall when driver is statically linked into the kernel...

-Miles
--
Suburbia: where they tear out the trees and then name streets after them.
-
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/