[NIU]: Fix slowpath interrupt handling.
authorMatheos Worku <Matheos.Worku@Sun.COM>
Sat, 5 Jan 2008 07:48:26 +0000 (23:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:29:54 +0000 (23:29 -0800)
commit406f353c857e4b2dbddb7cd20c67941d829b8b15
treef2d8ae4a0c41b48ad947dd59d32efca2fdf0d26a
parentcdf71a10c7b6432d9b48e292cca2c62a0b9fa6cf
[NIU]: Fix slowpath interrupt handling.

niu_slowpath_interrupt() expects values to be setup in lp->{v0,v1,v2}
but they aren't.  That's only done by niu_schedule_napi() which is
done later in the interrupt path.

If niu_rx_error() returns zero, and v0 is clear, hit the
RX_DMA_CTL_STATE register with a RX_DMA_CTL_STAT_MEX.

Only emit verbose RX error logs if a fatal channel or port error is
signalled.  Other cases will be recorded into statistics by
niu_log_rxchan_errors().

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c