RE: [PATCH v1 net-next 5/9] lan743x: Add support for ethtool eeprom access

2018-07-05 Thread Bryan.Whitehead
> > MAX_EEPROM_SIZE ? > ... snip ... > > Andrew Thanks Andrew, I'll change it.

Re: [PATCH v1 net-next 5/9] lan743x: Add support for ethtool eeprom access

2018-07-05 Thread Andrew Lunn
Hi Bryan > +static int lan743x_ethtool_set_eeprom(struct net_device *netdev, > + struct ethtool_eeprom *ee, u8 *data) > +{ > + struct lan743x_adapter *adapter = netdev_priv(netdev); > + int ret = -EINVAL; > + > + if (ee->magic == LAN743X_EEPROM_MAGIC)