Commit a5dc694
net: ethernet: mtk_ppe: add MTK_FOE_ENTRY_V{1,2}_SIZE macros
Introduce MTK_FOE_ENTRY_V{1,2}_SIZE macros in order to make more
explicit foe_entry size for different chipset revisions.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent bf837e8 commit a5dc694
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4804 | 4804 | | |
4805 | 4805 | | |
4806 | 4806 | | |
4807 | | - | |
| 4807 | + | |
4808 | 4808 | | |
4809 | 4809 | | |
4810 | 4810 | | |
| |||
4825 | 4825 | | |
4826 | 4826 | | |
4827 | 4827 | | |
4828 | | - | |
| 4828 | + | |
4829 | 4829 | | |
4830 | 4830 | | |
4831 | 4831 | | |
| |||
4844 | 4844 | | |
4845 | 4845 | | |
4846 | 4846 | | |
4847 | | - | |
| 4847 | + | |
4848 | 4848 | | |
4849 | 4849 | | |
4850 | 4850 | | |
| |||
4882 | 4882 | | |
4883 | 4883 | | |
4884 | 4884 | | |
4885 | | - | |
4886 | 4885 | | |
| 4886 | + | |
4887 | 4887 | | |
4888 | 4888 | | |
4889 | 4889 | | |
| |||
4903 | 4903 | | |
4904 | 4904 | | |
4905 | 4905 | | |
4906 | | - | |
4907 | 4906 | | |
| 4907 | + | |
4908 | 4908 | | |
4909 | 4909 | | |
4910 | 4910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
0 commit comments