Re: Does enc28j60 spi-ethernet driver work in ARM inux 2.6.39.4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> I wired up the enc28j60 to my ARM board using the instructions from here:
> http://www.elinux.org/Hammer_How_to_Enc28j60
> 
> However, when I enable the enc28j60 driver and load it, ifconfig just
> doesn't see the enc28j60:
> *************************************************************************
> # lsmod
> Module                  Size  Used by    Not tainted
> enc28j60               13352  0
> unix                   16952  8
> # ifconfig -a
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> ***************************************************************************
> *
> 
> Looking at modinfo:
> *********************************************
>  # modinfo enc28j60
> filename:       kernel/drivers/net/enc28j60.ko
> description:    enc28j60 ethernet driver
> author:         Claudio Lanconelli <lanconelli.claudio@xxxxxxxxx>
> license:        GPL
> vermagic:       2.6.39.4 mod_unload ARMv4
> parm:           debug:Debug verbosity level (0=none, ..., ffff=all)
> depends:
> *********************************************
> 
> I don't see any configuration options for spi or irq. How does the driver
> know how the enc28j60 is wired?
> 
> My question is whether the enc28j60 is really supported by Linux on the
> ARM? If so, how do I get it working.
> 
> Thanks for any help or info.

I suspect it's a platform driver so you need to attach it in your platform def. 
file
> 
> cytan
> 
> 
> _______________________________________________
> linux-arm mailing list
> linux-arm@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm

_______________________________________________
linux-arm mailing list
linux-arm@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm


[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter