]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: fs_enet: mask interrupts for TX partial frames.
authorLEROY Christophe <christophe.leroy@c-s.fr>
Tue, 11 Aug 2015 10:11:03 +0000 (12:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 19:05:34 +0000 (12:05 -0700)
commitc68875fa82a8ab2f45a32aa8adab059f3cb1ed01
tree84424176d6082091bd3c5e26916948918e48166c
parent8961822c46cc363c239503f998a6d24bbeb346d5
net: fs_enet: mask interrupts for TX partial frames.

We are not interested in interrupts for partially transmitted frames.
Unlike SCC and FCC, the FEC doesn't handle the I bit in buffer
descriptors, instead it defines two interrupt bits, TXB and TXF.

We have to mask TXB in order to only get interrupts once the
frame is fully transmitted.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/mac-fec.c