dl2k: Implement suspend
authorOndrej Zary <linux@rainbow-software.org>
Thu, 19 Nov 2015 19:13:06 +0000 (20:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 19:48:27 +0000 (14:48 -0500)
commit1777ddb84a543444d44594d437b0f3d3f8734f32
tree31a1ccb3ce3b4bf9f09eb1b703ef626ffd29fa3a
parent966e07f4bf11f9fcce57c706903defe86516344c
dl2k: Implement suspend

Add suspend/resume support to dl2k driver.
This requires RX/TX rings to be reset so split out the required
functionality from alloc_list() into new rio_reset_ring().

Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dlink/dl2k.c