Re: [PATCH] Atari EtherNAT (SMC91C111) driver

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

 



Hi Geert,

As device_initcall? May be cleaner indeed. I was glad I found the initcall

Just use module_{in,ex}it().

trick at all... Does that work on module load as well?

Yep.

I'll try that.

Works, and the only problem is that I need to unregister the device on
module unload ... doing that the platform code complains about a missing
device release function.

You mean MII? Doesn't `select MII' do the right thing?

Did fail (MII compiled in when driver was modular) at least once for me.

Strange. Do you remember what went wrong? Missing exports in MII?

To the contrary - duplicate symbols in both kernel and module. I'll try to
reproduce it.

mii: exports duplicate symbol mii_link_ok (owned by kernel)

(MII was builtin even after I switched to ethernat as module)

The error actually results from a leftover mii.ko with no known function.
Deleted that, and the module loads fine, using the builtin MII. Why it
even attempts to load the obsolete module - no idea. Does depmod double
check that symbols aren't already in the kernel symbol table?

Patch needs more cleanup, but first of all I'd like to know whether it
does work at all - Christian?

	Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux