]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: use the SMI done interrupt to wait for SMI access completion
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 26 Aug 2008 02:42:59 +0000 (04:42 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Fri, 5 Sep 2008 04:33:58 +0000 (06:33 +0200)
commit45c5d3bc1eae7a1d91b12dbee6443109337ec8c3
tree397efc108f01e782abfdced8336c1322a71ffa87
parent2b3ba0e3ea3aa9383d38cf95fabd24ca35483784
mv643xx_eth: use the SMI done interrupt to wait for SMI access completion

If the platform code has passed us the IRQ number of the mv643xx_eth
top-level error interrupt, use the error interrupt to wait for SMI
access completion instead of polling the SMI busy bit, since SMI bus
accesses can take up to tens of milliseconds.

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