net: ti: icssg-prueth: Fix r30 CMDs bitmasks
authorMD Danish Anwar <danishanwar@ti.com>
Wed, 18 Oct 2023 15:07:15 +0000 (20:37 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Oct 2023 16:04:43 +0000 (09:04 -0700)
commit389db4fd673e5b122393a69b2973dd294a125573
treeb51f17a4d0ceef16e51f09b46a1a95d367b7683d
parentf7d86df41f963985261bc7a252b44dacf833d3f1
net: ti: icssg-prueth: Fix r30 CMDs bitmasks

The bitmasks for EMAC_PORT_DISABLE and EMAC_PORT_FORWARD r30 commands are
wrong in the driver.

Update the bitmasks of these commands to the correct ones as used by the
ICSSG firmware. These bitmasks are backwards compatible and work with
any ICSSG firmware version.

Fixes: e9b4ece7d74b ("net: ti: icssg-prueth: Add Firmware config and classification APIs.")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20231018150715.3085380-1-danishanwar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/icssg/icssg_config.c