[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Modularizing net80211 (was: link_set info needed)
> This mechanism only works for modules that are "separate" from the
> kernel (loaded via "boot" or from "filesys"). "builtin" modules still
> need to use the link_set mechanism.
Shouldn't be that hard to put the contructor list address into a
link_set - that would make it easy to get them called for 'built in'
Thinks a bit further...
Have each module define a snall structure that contains (say):
- it's name
- the address of a list of modules it depends on
- the address of its constructors
- the address of its destructios
Then you can control the order of initialisers as well.
David Laight: david%l8s.co.uk@localhost
Main Index |
Thread Index |