Networking Forums

Networking Forums > Computer Networking > Linux Networking > Multiple Ethernet Cards with Same network driver

Reply
Thread Tools Display Modes

Multiple Ethernet Cards with Same network driver

 
 
keshavreddyg@indiatimes.com
Guest
Posts: n/a

 
      08-21-2006, 12:27 PM
Hi All,
I have written a ethernet driver on an embedded platform. If I need to
run same ethernet driver for multiple instances of hardware, how the
loading & unloading can be can be done ?

I understand that while calling the module_init(my_init) function, if a
call to alloc_etherdev() is made, kernel will assign ethernet device
names as "eth0", "eth1" in that sequence.

Since ethernet driver I have written is for an embedded application
where the base addresses of the devices and IRQ are fixed, while I
unload the driver, how can I find which one is being unloaded so that I
can free corresponding 'net_device' structure ? I see that there is no
parameter available for module_exit() function.

Any help/pointers greatly appreciated.

regards,
Keshav

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Multiple network cards IshmaelDS Windows Networking 2 07-18-2008 03:01 PM
How to host multiple SSL websites using multiple network cards rou DPL Windows Networking 3 08-01-2007 05:32 PM
Multiple ethernet cards to increase server speed? bmearns Linux Networking 6 05-17-2007 01:07 AM
Multiple network cards on a single PC Simon Finnigan Home Networking 9 10-26-2005 03:30 PM
Trouble with multiple ethernet cards Lord Maniac Linux Networking 1 07-24-2003 07:50 PM



1 2 3 4 5 6 7 8 9 10 11