]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Correctly set TSB endian for host
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 2 Sep 2017 00:32:34 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Sep 2017 03:19:32 +0000 (20:19 -0700)
commit10aff9757cc54e9f64255123e0766e14f1a4c00b
tree9020312da8262ed3ba8ab1978f85b05e52e7a545
parent76eff9112def266d286c19eda3a2292d72773ada
net: systemport: Correctly set TSB endian for host

Similarly to how we configure the RSB (Receive Status Block) we also
need to set the TSB (Transmit Status Block) based on the host endian.
This was missing from the commit indicated below.

Fixes: 13606f0b4d2f ("net: systemport: Set correct RSB endian bits based on host")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c
drivers/net/ethernet/broadcom/bcmsysport.h