kernel_cartman <kernel.mai...@gmail.com> writes:

> I am writing a driver for NIC interface and I wanted to know how to
> setup my kernel so that my driver gets loaded during boot time?

Provide appropriate module aliases in the driver, and it will automatically
bind to the appropriate USB, PCI, or other bus.  They also export so that udev
and modprobe can discover and load your driver automatically.

> I mean how should I map eth0 --> to my device driver?

You shouldn't, as part of the driver.  That should all be handled by the
subsystem.
        Daniel

-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to