sfc: Fix MCDI structure field lookup
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 11 Sep 2012 20:46:41 +0000 (21:46 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 2 Oct 2012 00:58:40 +0000 (01:58 +0100)
The least significant bit number (LBN) of a field within an MCDI
structure is counted from the start of the structure, not the
containing dword.  In MCDI_ARRAY_FIELD() we need to mask it rather
than using the usual EFX_DWORD_FIELD() macro.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found