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
when I invoke mount -Tio-net it says cant find such device or
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