]> git.baikalelectronics.ru Git - kernel.git/commit
dl2k: Reorder and cleanup initialization
authorOndrej Zary <linux@rainbow-software.org>
Thu, 19 Nov 2015 19:13:05 +0000 (20:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 19:48:27 +0000 (14:48 -0500)
commit17291a11b2301e1ba6ed12e9a762a11a5554cd2b
treecadeef9c0cc790f98eac603c5f130c8f8cc67732
parent7db7573619ea5809ce8eb5d59bdc2c50a549a408
dl2k: Reorder and cleanup initialization

Move HW init and stop into separate functions.
Request IRQ only after the HW has been reset (so interrupts are
disabled and no stale interrupts are pending).

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