Jivin Thomas Chou lays it down ... > Greg Ungerer wrote: > > > > > >Thomas Chou wrote: > >>Greg Ungerer wrote: > >>>Hi Thomas, > >>> > >>>Thomas Chou wrote: > >>>>Igor Opencore Ethernet driver needs this. > >>> > >>>Are these really neccessary. With appropriate module_init() > >>>calls in the drivers you shouldn't need these. > >>> > >>>Regards > >>>Greg > >>> > >>> > >>We will need these to compile in kernel, rather than using modules. > > > >Doesn't matter, module_init() still calls in to init the code > >even when compiled into the kernel. > > > >Regards > >Greg > > > Hi Greg, > > Sorry for bothering you. I compiled and checked again. > The proto are required to put these func into list in > static struct devprobe2 isa_probes[] __initdata
Check your linker script has all the correct sections included to get the module init bits, Cheers, Davidm > >>Best regards, > >>Thomas > >> > >> > >>> > >>>>Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> > >>>> > >>>>diff --git a/linux-2.6.x/drivers/net/Space.c > >>>>b/linux-2.6.x/drivers/net/Space.c > >>>>index e0a921b..4853dd8 100644 > >>>>--- a/linux-2.6.x/drivers/net/Space.c > >>>>+++ b/linux-2.6.x/drivers/net/Space.c > >>>>@@ -71,6 +71,8 @@ extern struct net_device *sonic_probe(int unit); > >>>> extern struct net_device *SK_init(int unit); > >>>> extern struct net_device *seeq8005_probe(int unit); > >>>> extern struct net_device *smc_init(int unit); > >>>>+extern struct net_device *oeth_init(int unit); > >>>>+extern struct net_device *mtip1000_init(int unit); > >>>> extern struct net_device *dmfe_probe(int unit); > >>>> extern struct net_device *atarilance_probe(int unit); > >>>> extern struct net_device *sun3lance_probe(int unit); > >>> > >> > >>_______________________________________________ > >>uClinux-dev mailing list > >>[email protected] > >>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > >>This message was resent by [email protected] > >>To unsubscribe see: > >>http://mailman.uclinux.org/mailman/options/uclinux-dev > >> > > > > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > -- David McCullough, [EMAIL PROTECTED], Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
