Re: Modules inside modules

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu May 03 2001 - 12:58:14 EST


> I need to work with two modules toghter. Is possible to include in the
> one driver one call to another driver?

Yes. A good example of this is to read ne.c and 8390.c. 8390.c is a driver
for the chipset and ne.c is a driver for one of the boards using this
chipset.

That driver shows how to use EXPORT_SYMBOL() as well as callbacks and module
locking

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:17 EST