summaryrefslogtreecommitdiff
path: root/drivers/net/can/usb
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2015-08-21 01:08:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-08-24 06:00:41 (GMT)
commitb6df7d61c8776a882dd47ba4714d1445dd7ef2d9 (patch)
treec7fb9230e951946cafc55f6c724e5997038fd680 /drivers/net/can/usb
parenteed635699abaacebc9b19a2f9de9ddc688c390c2 (diff)
downloadlinux-b6df7d61c8776a882dd47ba4714d1445dd7ef2d9.tar.xz
net: bcmgenet: fix uncleaned dma flags
Clean the dma flags of multiq ring buffer int the interface stop process. This patch fixes that the genet is not running while the interface is re-enabled. $ ifup eth0 - running after booting $ ifdown eth0 $ ifup eth0 - not running and occur tx_timeout The bcmgenet_dma_disable() in bcmgenet_open() do clean ring16 dma flag only. If the genet has multiq, the dma register is not cleaned. and bcmgenet_init_dma() is not done correctly. in case GENET_V2(tx_queues=4), tdma_ctrl has 0x1e after running bcmgenet_dma_disable(). Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions