z85230: Fix FIFO handling
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 7 Mar 2007 16:37:38 +0000 (16:37 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Mar 2007 16:51:44 +0000 (11:51 -0500)
commitfe79745507593941adb44a6b2e392645c54ca1c2
tree8535fb3359185b9b685f213b840d1754193a3a09
parent2efa53f373ed811d4860904f5205b8a3b376e253
z85230: Fix FIFO handling

We must exit immediately on a FIFO fill not take the end of packet path
otherwise each underrun in PIO transmit mode causes a runt packet and the
data is lost.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wan/z85230.c