[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100817.015024.245415197.davem@davemloft.net>
Date: Tue, 17 Aug 2010 01:50:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: rusty@...tcorp.com.au, netdev@...r.kernel.org, mst@...hat.com,
izumi.taku@...fujitsu.com
Subject: Re: [PATCH] ethtool: Provide a default implementation of
ethtool_ops::get_drvinfo
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Thu, 05 Aug 2010 20:20:08 +0100
> The driver name and bus address for a net_device can normally be found
> through the driver model now. Instead of requiring drivers to provide
> this information redundantly through the ethtool_ops::get_drvinfo
> operation, use the driver model to do so if the driver does not define
> the operation. Since ETHTOOL_GDRVINFO no longer requires the driver
> to implement any operations, do not require net_device::ethtool_ops to
> be set either.
>
> Remove implementations of get_drvinfo and ethtool_ops that provide
> only this information.
>
> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>
Applied.
--
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