Skip to content
Commit fec8a97b authored by MD Danish Anwar's avatar MD Danish Anwar Committed by Xulin Sun
Browse files

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: default avatarMD Danish Anwar <danishanwar@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 851d60e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment