netdev
[Top] [All Lists]

RE: ioctl() to get MAC address from EEPROM

To: <netdev@xxxxxxxxxxx>
Subject: RE: ioctl() to get MAC address from EEPROM
From: <Rezwanul_Kabir@xxxxxxxx>
Date: Tue, 7 Sep 2004 16:55:00 -0500
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcSR2EpqqtgahXMFRfmmyUt8DI/YOwDTAoaw
Thread-topic: ioctl() to get MAC address from EEPROM
 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@xxxxxxxxxxx
> 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
> 
> 
>  


<Prev in Thread] Current Thread [Next in Thread>