]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Correct MAC filter bitfield definitions
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 6 Feb 2012 18:00:57 +0000 (18:00 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 16 Feb 2012 00:11:31 +0000 (00:11 +0000)
commit59f329736fd61d2eed4449cdc156f7dd7baeb1dc
tree720d1e0f020e6c90c5159a4e288865a9558565f6
parent6d281a4a71ddc9c1da486824d63cf667d3bce73f
sfc: Correct MAC filter bitfield definitions

The RMFT_DEST_MAC and TMFT_SRC_MAC register fields were previously
documented as 44 bits wide, whereas a MAC address has 48 bits.
Thankfully the hardware uses the correct width and the driver has
used separate definitions that divide each of these into 32-bit and
16-bit fields.

Fix the initial definitions for these fields and rewrite the latter
definitions to use them.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/regs.h