]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: com20020: add enable and disable device on open/close
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 20 Mar 2015 14:20:59 +0000 (15:20 +0100)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Mon, 26 Oct 2015 08:10:56 +0000 (09:10 +0100)
commitfc118c7db5e42a17bd1b448abfd56aeb5d97ab96
tree2f22c4e2a30858e6691b4b7aa86ffdbd6a42635a
parenteb70ebde74617cc25ef3d5ece96bfac56ea358b6
arcnet: com20020: add enable and disable device on open/close

This patch changes the driver to properly work with the linux netif
interface. The controller gets enabled on open and disabled on close.
Therefor it removes every bogus start of the xceiver. It only gets
enabled on com20020_open and disabled on com20020_close.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
drivers/net/arcnet/com20020.c