Jeff Garzik wrote:
>
> david parsons wrote:
> > It might be worthwhile to add a requirements function call to the
> > kernel, so you can have drivers explicitly load what they depend
> > on before they start loading. Something like:
> >
> > need("aha1542");
> >
> > in the buslogic driver?
>
> That would be wonderful... I really don't like defining driver load
> order implicitly through Makefile link order. I imagine "need()" would
> have to be some sort of trigger which ld (or a pre-ld script) uses to
> figure out the link order for the static kernel image?
That would work better than what I was thinking about:. I was
actually thinking of maintaining some sort of (dare I say it?)
kernel registry, but that would be massive overkill for these
purposes.
____
david parsons \bi/ tsort | lorder
\/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:13 EST