[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FC41C24E35F18A40888AACA1A36F3E4168533FAC@FMSMSX102.amr.corp.intel.com>
Date: Thu, 20 Jun 2013 20:53:47 +0000
From: "Nelson, Shannon" <shannon.nelson@...el.com>
To: Stephen Hemminger <stephen@...workplumber.org>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"gospo@...hat.com" <gospo@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>
Subject: RE: [net-next 3/8] i40e: driver ethtool core
> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen@...workplumber.org]
> Sent: Wednesday, June 19, 2013 11:41 AM
>
> On Thu, 13 Jun 2013 20:55:17 -0700
> Jeff Kirsher <jeffrey.t.kirsher@...el.com> 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.
Yep - thanks again,
sln
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists