commit | 27daf6ed5c1fbeca9029c59c7f4f70a5c7e13531 | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Fri Mar 20 15:20:59 2015 +0100 |
committer | Michael Grzeschik <m.grzeschik@pengutronix.de> | Mon Oct 26 09:10:56 2015 +0100 |
tree | 2f22c4e2a30858e6691b4b7aa86ffdbd6a42635a | |
parent | b82de0e28ccac15e1a0c3b4f6f20dfd230049041 [diff] |
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>