linux/drivers/net/ethernet/intel/ixgbevf
Danny Kukawka 1a0d6ae579 rename dev_hw_addr_random and remove redundant second
Renamed dev_hw_addr_random to eth_hw_addr_random() to reflect that
this function only assign a random ethernet address (MAC). Removed
the second parameter (u8 *hwaddr), it's redundant since the also
given net_device already contains net_device->dev_addr.
Set it directly.

Adapt igbvf and ixgbevf to the changed function.

Small fix for ixgbevf_probe(): if ixgbevf_sw_init() fails
(which means the device got no dev_addr) handle the error and
jump to err_sw_init as already done by igbvf in similar case.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-13 00:46:41 -05:00
..
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
defines.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
ethtool.c ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
ixgbevf.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
ixgbevf_main.c rename dev_hw_addr_random and remove redundant second 2012-02-13 00:46:41 -05:00
mbx.c ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
regs.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
vf.c ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
vf.h ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00