diff options
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | 2017-01-06 15:37:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-07 21:03:50 -0500 |
commit | b361da837392e7fc13189f223b12385de728be12 (patch) | |
tree | 8deb80e3036abea22fa5dac353a634931215ff5e /arch | |
parent | 7938a0d75fd64ce419b1cdf16aa182fa0fd1acd6 (diff) |
net: netcp: ale: add proper ale entry mask bits for netcp switch ALE
For NetCP NU Switch ALE, some of the mask bits are different than
defaults used in the driver. Add a new macro DEFINE_ALE_FIELD1 that use
a configurable mask bits and use it in the driver. These bits are set to
correct values by using the new variables added to cpsw_ale structure
and re-used in the macros. The parameter nu_switch_ale is configured by
the caller driver to indicate the ALE is for that switch and is used in
the ALE driver to do customization as needed.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions