]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: Correct the MID field length value
authorPunnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
Thu, 5 Mar 2015 14:02:10 +0000 (15:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 03:19:24 +0000 (22:19 -0500)
commit1e5d1b125e7fe0ea6846c92bb7cf58fb7cf9b771
tree73b8e5cf7a21d0e9de1d3f549ece602dd02785fc
parenta5eef432017fc4e8a25e248c5bcc0e482a695d46
net: macb: Correct the MID field length value

The latest spec "I-IPA01-0266-USR Rev 10" limit the MID field length to 12 bit
value. For previous versions it is 16 bit value.

This change will not break the backward compatibility as the latest ID value is
7 and with in the 12 bit value limit.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h