Entry
i have a source code for a NIC (C program), but then i dun know how to do with it as to make it as my NIC driver !
Jan 4th, 2004 18:09
Kenan Bektas, Liak Kuan Tan,
You need to compile it as object file, i.e cc -c ...
Then, it would create the object file to be loaded as a kernel module.
If everything goes well and compiles the object file, load it using
insmod or modprob as root.
insmod module_name_created
modprobe module_name_created
if necessary, copy the module file created to the following directory:
/lib/modules/`uname -r`/kernel/drivers/net/
Good luck,