netxen: ratelimit error prints
authorDhananjay Phadke <dhananjay@netxen.com>
Wed, 18 Feb 2009 04:27:02 +0000 (20:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 04:27:02 +0000 (20:27 -0800)
commit39754f441055c861da403d4e9a67ed80f242a4b4
tree158b1056cb5cdef68d7ec0dfb3ee175eb9acb5bd
parentd8313ce0f148e648d4e515db5d2c65bbd44fe29e
netxen: ratelimit error prints

If for some reason, read from card memory fails the console
get flooded with failure prints. This patch confines print
under printk_ratelimit().

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_hw.c