Hi Thomas,

Thomas Chou wrote:
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

Yes, but why is that needed at all?
The driver init can probe for attached hardware.

Regards
Greg



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



--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.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

Reply via email to