]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: add support for mii on rgmii
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 17 Sep 2021 13:26:14 +0000 (16:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Sep 2021 13:14:39 +0000 (14:14 +0100)
commit61c818dad4210d507d2ce14aae52d99de4ee2a95
tree76ecaa01745a60b9b6110fcb5d2a700d4436085e
parent82c8592c5fd566ee24d332b3ca10db83378c73c4
net: macb: add support for mii on rgmii

Cadence IP has option to enable MII support on RGMII interface. This
could be selected though bit 28 of network control register. This option
is not enabled on all the IP versions thus add a software capability to
be selected by the proper implementation of this IP.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c