net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 8 Mar 2008 00:25:49 +0000 (09:25 +0900)
committerWolfgang Denk <wd@denx.de>
Sat, 8 Mar 2008 09:59:27 +0000 (10:59 +0100)
commitd75469d48c05795144f4b8ba76addbb4920a7bba
treec0b158a978cdea74d118f2b0c376130062451b08
parent377151c8173ee64cfc3fdfb545b366c36d8ce3b2
net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()

When rtl_recv() of rtl8169 is called, OWNbit of status register
is not enable occasionally.
rtl_recv() doesn't work normally when the driver doesn't do
appropriate processing.
This patch fix this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/net/rtl8169.c