net: ti: icssg-prueth: Fix r30 CMDs bitmasks
commit 2075b0100d4093b1048470ef061faed75fe637a6 from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git The bitmask for EMAC_PORT_DISABLE and EMAC_PORT_FORWARD has been changed in the ICSSG firmware REL.PRU-ICSS-ETHERNET-SWITCH_02.02.12.05. The current bitmasks are wrong and as a result EMAC_PORT_DISABLE and EMAC_PORT_FORWARD commands doesn not work. Update r30 commands to use the same bitmask as used by the ICSSG firmware REL.PRU-ICSS-ETHERNET-SWITCH_02.02.12.05. These bitmasks are not backwards compatible. This will work with firmware version REL.PRU-ICSS-ETHERNET-SWITCH_02.02.12.05 and above but not with lower firmware versions. Fixes: 7b724d51f610 ("net: ti: icssg-prueth: Add ICSSG ethernet driver") Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
parent
851d60e0
Please register or sign in to comment