]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: also check TX_IN_PROGRESS when disabling transmit path
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 15 Jul 2008 00:15:24 +0000 (02:15 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Thu, 24 Jul 2008 04:22:51 +0000 (06:22 +0200)
commitae9ae06443f7bfa4f013c0e2c035d549e999ad3e
tree464b7e9f5bc9225d6944d4d484cf44f468c56f91
parent65193a91fc60fdb79e392c9842c10552a1fa3e1c
mv643xx_eth: also check TX_IN_PROGRESS when disabling transmit path

The recommended sequence for waiting for the transmit path to clear
after disabling all of the transmit queues is to wait for the
TX_FIFO_EMPTY bit in the Port Status register to become set as well
as the TX_IN_PROGRESS bit to clear.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c