I am trying to interface to the ENC28J60 ethernet card on my i.mx23 evk board. I don't want to do nfs booting, just use the card for TCP/IP communication, however, when i try to load the kernel module it errors out without a helpful error. The error it gives is:
$ insmod enc28j60.ko debug ffff
enc28j60: module is already loaded
insmod: error inserting 'enc28j60.ko': -1 Invalid parameters
The module is not loaded as it gets an invalid argument error on boot (the error without debug).
I can't figure out why this is happening, i'm unable to find a bug on the internet where this was rectified with a patch, so i assume i have done something wrong in my compile. I tried to use the pre-compiled sdk images to verify the integrity of the error in the driver, but they do not boot when flashed to my SD card, also with no errors saved to syslog or output to the terminal, it seems to just stop without providing a tty login, so im stuck with my compiled freescale ltib on 2.6.31 imx kernel. Currently, i can't determine whether i am getting an error in parameters parsed externally to the driver, or if it is internally in the driver. Any help would be appreciated!