On Thu, 13 Jun 2013 20:55:17 -0700
Jeff Kirsher <[email protected]> wrote:
> +
> +static int i40e_get_eeprom_len(struct net_device *netdev)
> +{
> + return 0;
> +}
> +
> +static int i40e_get_eeprom(struct net_device *netdev,
> + struct ethtool_eeprom *eeprom, u8 *bytes)
> +{
> + return 0;
> +}
> +
> +static int i40e_set_eeprom(struct net_device *netdev,
> + struct ethtool_eeprom *eeprom, u8 *bytes)
> +{
> + return -EOPNOTSUPP;
> +}
No EEPROM, then just leave out the handlers.
No need for stubs here.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired