[realtek] Implementing set_mac_address for the rtl8139 driver?

Ben Greear greearb@candelatech.com
Wed, 03 Jan 2001 22:02:23 -0700


After poking around in the 8139 driver included with linux 2.4.prerelease,
and the one on scyld.com, I've come to the conclusion that there is
absolutely no way that ifconfig can set the mac_address on the
interface correctly.  The reason seems to be that the driver
does not set it's own method at dev->set_mac_address, so the default
is used, which just updates the in-memory net_device structure, and
does nothing to tell the actual NIC what's goin on....

Anyway..  I know squat about driver programming, but if someone
could point me to a likely example or some other useful information,
I'll try to write such a mac-changing function.

I'll also be happy to test code if someone else wants to write it.

As a side note:  I need to do the same thing for tulip drivers..

Thanks,
Ben

-- 
Ben Greear (greearb@candelatech.com)  http://www.candelatech.com
Author of ScryMUD:  scry.wanfear.com 4444        (Released under GPL)
http://scry.wanfear.com               http://scry.wanfear.com/~greear