]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: uapi: mrp: Fix MRP_PORT_ROLE
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 23 Jun 2020 09:05:40 +0000 (11:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:38:05 +0000 (14:38 -0700)
commit0cb888d436bd2465075518da6b6ba4e3722aa71e
treeb6aa045cdd1f7c5fd325ba1d054330040fe96f90
parent664c3929edb15795f0d6be9e64efb6ff70d91e24
bridge: uapi: mrp: Fix MRP_PORT_ROLE

Currently the MRP_PORT_ROLE_NONE has the value 0x2 but this is in conflict
with the IEC 62439-2 standard. The standard defines the following port
roles: primary (0x0), secondary(0x1), interconnect(0x2).
Therefore remove the port role none.

Fixes: ae706f8c62d701 ("bridge: uapi: mrp: Add mrp attributes.")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/mrp_bridge.h