]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit27daf6ed5c1fbeca9029c59c7f4f70a5c7e13531
tree2f22c4e2a30858e6691b4b7aa86ffdbd6a42635a
parentb82de0e28ccac15e1a0c3b4f6f20dfd230049041
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