3c59x Driver Query..

Mike Insch <[email protected]> 16 Dec 2003 16:19:32 +0000
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <[email protected]>
Hi,

I've got this address as a contact address from the top of the latest BK
commit of the 3c59x.c driver in the Linux Kernel.

I'm not 100% sure this is the correct place to post my query, but I've
already posted to the LKML to no luck.  If this is not the right place,
I would greatly appreciate if you could let me know where is the correct
place to post this query...

Basically, I am trying to use two 3c905C (Tornado) NIC's with the 2.4.23
bonding driver.  This driver needs the base NIC driver to support
changing the card MAC address whilst the card is open.  It appears that
the 3c59x Driver does not support this operation.

I have looked at the 3c59x code, and the Bonding driver code, as well as
the code for drivers which do support this operation (such as the Intel
EtherExpress e100) to see if I can glean any useful information. 
Unfortunately, I'm not as familiar with the kernel code as I would like
to be, so I'm a little in the dark.

I have found that cards which do support changing the MAC address of the
card while the device is open have a function binding to the
set_mac_address function in the net_device structure for the card.  What
I can't work out is whether it would be possible to write an appropriate
function for the 3c59x driver.

I've also looked at other versions of the driver at scyld.com, and also
at 3Com's own 3c90x driver to see if I can get any useful information
there - or to see if there is an implementation of the set_mac_address
function that I can adapt to the version of the driver included with the
stock 2.4.23 kernel, also to no luck.

Is it possible to change the MAC address of these cards whilst the
device is open?  If not, is it simply a driver limitation, or is there a
hardware limitation which prevents the change?  Finally, if it is just a
driver limitation, are there any good resources on the kernel drivers
that I can look at that would help me start to write a patch to enable
this functionality?

Any help or advice would be greatly appreciated.  In the meantime, my
searches through Google and other kernel sites continues...

_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex