Whoops - Replying to the list this time.

Hi Grant,

> Problem: There are no guarantees that the MDIO bus controller will be
> probed before the Ethernet device.

I believe that what you're supposed to do is to have "bus" controllers
initilize themselves using subsys_initcall rather than module_init. If
you look in include/linux/init.h you can see the various initcall
definitions. module_init is at the same level as device_initcall. All
of the initcalls at one "level" are completed before moving onto the
next level.

Of course, if you're using loadable modules, then the dependencies
should take care of things for you.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to