macb: add RM9200's interrupt flag TBRE
authorWilly Tarreau <w@1wt.eu>
Sun, 11 Oct 2020 09:09:42 +0000 (11:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 Oct 2020 23:57:12 +0000 (16:57 -0700)
commitfa6031df12fcbc1cd21586576046d821f2cef2e2
tree744772db16e0647e71e0eff13fa117ad2ec01623
parentccdf7fae3afaeaf0e5dd03311b86ffa56adf85ae
macb: add RM9200's interrupt flag TBRE

Transmit Buffer Register Empty replaces TXERR on RM9200 and signals the
sender may try to send again becase the last queued frame is no longer
in queue (being transmitted or already transmitted).

Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20201011090944.10607-2-w@1wt.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb.h