drivers/net/vsc9953: Initialize action RAM in VCAP complex
authorRadu Bulie <radu-andrei.bulie@nxp.com>
Mon, 21 May 2018 15:02:09 +0000 (10:02 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:16 +0000 (13:54 -0500)
commit98017a1fb5c0add55249fa08f8982452a3ab31af
treedbe6a4db9b6ff464ff0bca9048ae4a5a66ee8814
parentd48d40a09127dfcb1f073c3e44de4b858393ae9e
drivers/net/vsc9953: Initialize action RAM in VCAP complex

VCAP tables must be initialized even if no advanced classification
is used. If no initialization is performed, then ECC error will
be observed by the user when the first packet enters the l2switch.
The error is marked in MPIC_EISR0 -bit 29 which means - Internal RAM
multi-bit ECC error.
This patch fixes the aforementioned ECC error by performing the
initialization of VCAP tables.

Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/vsc9953.c
include/vsc9953.h