]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Add BCM2711 support
authorStefan Wahren <wahrenst@gmx.net>
Mon, 11 Nov 2019 19:49:23 +0000 (20:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 04:07:59 +0000 (20:07 -0800)
commit9d7592e7400443afb92e582ae2d60d8f91e29e61
tree05f9b985c2a98f375ade631dd6118c5b0c40f94d
parent35678493c0062d5d7c1b3c20265347340cc064d6
net: bcmgenet: Add BCM2711 support

The BCM2711 needs a different maximum DMA burst length. If not set
accordingly a timeout in the transmit queue happens and no package
can be sent. So use the new compatible to derive this value.

Until now the GENET HW version was used as the platform identifier.
This doesn't work with SoC-specific modifications, so introduce a proper
platform data structure.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h