Thread (3 messages) flat view 3 messages, 2 authors, 2011-07-20

Re: [PATCH] ethtool: fix ethtool_get_regs() to work with zero length registers

From: Ben Hutchings <hidden>
Date: 2011-07-20 11:38:17
Also in: linux-wireless

On Wed, 2011-07-20 at 12:18 +0300, Kalle Valo wrote:
cfg80211 exports zero length register size as it currently only uses
struct ethtool_regs.version to export struct wiphy.hw_version.
[...]

The ethtool_regs::version field represents the version of the register
dump format.  This may or may not relate to a hardware version.

If you don't actually provide a register dump then don't implement this
operation.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help