smc911x: how to call the driver?

Jens Gehrlein sew_s at tqs.de
Wed May 14 02:04:41 EST 2008


Hi,

on our board a SMSC LAN9215i is connected to an i.MX31 ARM processor. My 
hope is to get the smc911x driver run on this chip. The LAN921x data 
sheets say that existing 911x drivers should work.

The first I had to patch was the Kconfig file, in which the smc911x 
driver is only available on PXA architecture:
- depends on NET_ETHERNET && ARCH_PXA
+ depends on NET_ETHERNET && (ARCH_PXA || ARCH_MXC)
So the driver got at least compiled.

My next problem is:
Where and when get the functions smc911x_drv_probe() and smc911x_init() 
called? Any hints?

Thank you in advance.

Best Regards,
Jens



More information about the Linuxppc-embedded mailing list