
switch_lan_bmp and switch_wan_bmp have wrong values and now cause problems with the new version of the qca-ssdk. Fix the wrong entry and drop the redundant switch_cpu_bmp. Also introduce some convenient define to better understand values in this map. Fixes: eea264feadcf ("kernel: qca-ssdk: update to 12.4") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Tested-by: Robert Marko <robimarko@gmail.com> # Dynalink AX3600 and Qnap 301W Reviewed by: Robert Marko <robimarko@gmail.com>
16 lines
362 B
C
16 lines
362 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _DT_BINDINGS_NET_QCOM_IPQ_ESS_H
|
|
#define _DT_BINDINGS_NET_QCOM_IPQ_ESS_H
|
|
|
|
#define ESS_PORT0 0x1
|
|
#define ESS_PORT1 0x2
|
|
#define ESS_PORT2 0x4
|
|
#define ESS_PORT3 0x8
|
|
#define ESS_PORT4 0x10
|
|
#define ESS_PORT5 0x20
|
|
#define ESS_PORT6 0x40
|
|
#define ESS_PORT7 0x80
|
|
|
|
#endif /* _DT_BINDINGS_NET_QCOM_IPQ_ESS_H */
|