How to install a driver?

I have managed to create a network driver. I want to install it. Anybody has
an idea how to install it. I have copied the file to /lib/dll directory by
name of devn-mydev.so.
when I invoke mount -Tio-net devn-mydev.so it says cant find such device or
process.
Maybe I am creating a wrong file or something? Can anybody give me ideas.

When I run io-net -d mydev I can see output of my program but my device is
neither in /dev nor /dev/io-net directory

Regards
Moreshwar