Linux : uname -a :2.6.18 as well as 2.6.39
I am very new in it... When the driver is first loaded, before ifconfig can change the MAC address, the existing (permanent) MAC address is stored away, able to be retrieved via this ioctl.
case ETHTOOL_GPERMADDR:
rc = ethtool_get_perm_addr(dev, useraddr);
break;
anyone has tested it ? Can I get code or a part of a code to implement it ?