2.6 kernel module compilation

Submitted by _Neo_
on July 18, 2006 - 7:06am

i have a ethernet card driver source code for 2.4.
while i compile the same in 2.6 (mandriva 2006), it still generates ".o" instead of ".ko" . so it reports as invalid module type while inserting.

what changes should i do for makefile to generate a .ko ?

By the way the card is Silan PCI Fast Ethernet Adapter with lscpci output -
01:02.0 Ethernet controller: Unknown device 1904:2031 (rev 01).
Anyone succesful in using it under 2.6 ?

Plz help..

Regards,
Neo