diff options
| author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-09-10 23:28:06 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-12 03:34:39 +0300 |
| commit | aa61296c3095bf43baeef6cbd024796164154a69 (patch) | |
| tree | 5a93df26ea3ae0718404f0028792765f83908011 /include/linux/fpga/fpga-mgr.h | |
| parent | 23015ff1a0f33a296572df0fc23baf97c1f7f86f (diff) | |
| download | linux-aa61296c3095bf43baeef6cbd024796164154a69.tar.xz | |
net: ethernet: ti: ale: switch to use tables for vlan entry description
The ALE VLAN entries are too much differ between different TI CPSW ALE
versions. So, handling them using flags, defines and get/set functions
became over-complicated.
This patch introduces tables to describe the ALE VLAN entries fields, which
are different between TI CPSW ALE versions, and new get/set access
functions. It also allows to detect incorrect access to not available ALL
entry fields.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
