]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: rk3588: Allow multiple gmac controller
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Fri, 21 Oct 2022 17:24:22 +0000 (19:24 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Oct 2022 09:02:37 +0000 (11:02 +0200)
commit80bea6608f293bbe814e66dd3dd863cdfffc13a7
tree9ce4fca485c4e38c4ec5599a04c1a51ad8e555f3
parentb62a4dad21fb31c50a350a55beb958982a866267
net: stmmac: rk3588: Allow multiple gmac controller

RK3588(s) can have multiple gmac controllers.
Re-use rk3568 logic to distinguish them.

Fixes: 581ce35de125 ("net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588")
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20221021172422.88534-1-sebastian.reichel@collabora.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c