O
> > +static int
> > +netxen_nic_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
> > +{
> > +        // can't implement as WOL register is not known !!
> > +        return 0;
> 
> If it can not be implemented, it should return something < 0, say -EINVAL.
> 

ethtool does the right thing if you just leave that entry NULL in
the ethtool_ops structure.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to