]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit055e0ad01418bc4d68106df8c8a2d0338fbf67ba
tree720d1e0f020e6c90c5159a4e288865a9558565f6
parent3d885e39219095ec5788026a1256dff61c86fa29
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