mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Link order madness :-(
@ 2002-06-01  0:21 Jean Tourrilhes
  2002-06-01  6:55 ` Dan Aloni
  0 siblings, 1 reply; 8+ messages in thread
From: Jean Tourrilhes @ 2002-06-01  0:21 UTC (permalink / raw)
  To: Linux kernel mailing list, Alan Cox, Jeff Garzik

	Hi,

	I was trying to make the IrDA stack work when compiled in the
kernel in 2.5.X (as opposed to modular). In 2.4.X, it sort of work,
but whoever made changes to the IrDA init in 2.5.X obviously didn't
bother to check what he was doing and check his changes.
	So, I was trying to fix that, and I found a problem with
kernel link order.

	The IrDA stack need to be initialised :
	AFTER :
		o the networking code (done in init/main.c)
		o driver/char/random.c (done via __initcall())
	BEFORE :
		o IrDA drivers (done via module_init())
		o IrDA higher protocols (done via module_init())

	As both the random driver and the irda drivers are at the same
init level, there is no way to enforce those dependancies. Currently,
the IrDA drivers are loaded before the IrDA stack (== kaboom).
	Personally, I found it a bit strange the the random driver is
initialised so late in the game when the whole networking code (at
least) depends on it.

	Please advise...

	Jean

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-06-03 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-01  0:21 Link order madness :-( Jean Tourrilhes
2002-06-01  6:55 ` Dan Aloni
2002-06-01  7:43   ` Kai Germaschewski
2002-06-03 17:14     ` Jean Tourrilhes
2002-06-03 17:29       ` Horst von Brand
2002-06-03 17:52         ` Nathan
2002-06-03 18:13         ` Thunder from the hill
2002-06-03 17:47       ` Dan Aloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®