RE: ioctl() to get MAC address from EEPROM

From: <hidden>
Date: 2004-09-07 21:55:00

 Any comments on below?
 If this is not the right forum  to ask such questions, could anyone pls point me to an appropriate forum?
 I really need to figure out the best way to do it...
 Thanks..
     --rez
 -----Original Message-----
From: 	Kabir, Rezwanul  
Sent:	Friday, September 03, 2004 12:06 PM
To:	netdev@oss.sgi.com
Subject:	ioctl() to get MAC address from EEPROM


Hi

    There seems to be no standard way to retrieve the MAC 
address of a NIC stored in the EEPROM ( ETHTOOL_GEEPROM ioctl 
may be used to do such thing but there's a need for a more 
direct standard interface).This is sometimes necessary when 
the MAC address in EEPROM may differ from the one associated 
with the software interface (i.e. dev_addr in struct 
net_device).For example, in some modes of channel bonding , 
the MAC address of the active NIC is duplicated on the rest 
of the members of the specific bond/team. How to fetch the 
"permanent" MAC address in this case?
    Any plan to include such commands in ethtool ioctls? Is 
there  a better way to do this?
    Any suggestions would be appreciated..
    Thanks..
         --rez


 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help