commit | 4bf84c35c65f36a344fb7a6cde6274df4120efb8 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@resnulli.us> | Thu Dec 27 23:49:37 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 28 15:24:18 2012 -0800 |
tree | 09f7e45f4db6dc8fefd2910286aa3b0fcc5d50c2 | |
parent | b5a05550b76fe5b934b6f3b7f4b36ae9513745f6 [diff] |
net: add change_carrier netdev op This allows a driver to register change_carrier callback which will be called whenever user will like to change carrier state. This is useful for devices like dummy, gre, team and so on. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>