netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next-2.6 0/2] net: allow to change carrier via sysfs
@ 2011-08-30 14:46 Jiri Pirko
  2011-08-30 14:46 ` [patch net-next-2.6 1/2] " Jiri Pirko
  2011-08-30 14:46 ` [patch net-next-2.6 2/2] dummy: implement carrier change Jiri Pirko
  0 siblings, 2 replies; 22+ messages in thread
From: Jiri Pirko @ 2011-08-30 14:46 UTC (permalink / raw)
  To: netdev; +Cc: davem, eric.dumazet, bhutchings, shemminger

As suggested by Ben Hutchings I made "carrier" attribute writeable.
With this patchset one can set carrier on/off on dummy. Might by also handy
to implement this for other devices.

Jiri Pirko (2):
  net: allow to change carrier via sysfs
  dummy: implement carrier change

 drivers/net/dummy.c       |   10 ++++++++++
 include/linux/netdevice.h |    4 ++++
 net/core/dev.c            |   19 +++++++++++++++++++
 net/core/net-sysfs.c      |   26 +++++++++++++++++++++++++-
 4 files changed, 58 insertions(+), 1 deletions(-)

-- 
1.7.6

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-09-01  5:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 14:46 [patch net-next-2.6 0/2] net: allow to change carrier via sysfs Jiri Pirko
2011-08-30 14:46 ` [patch net-next-2.6 1/2] " Jiri Pirko
2011-08-30 15:14   ` Ben Hutchings
2011-08-30 15:19     ` Jiri Pirko
2011-08-30 18:11   ` Michał Mirosław
2011-08-30 18:25     ` Stephen Hemminger
2011-08-31  8:31       ` Jiri Pirko
2011-08-31  8:26     ` Jiri Pirko
2011-08-31  8:33       ` Michał Mirosław
2011-08-31  8:45         ` Jiri Pirko
2011-08-31 20:03           ` Nicolas de Pesloüan
2011-08-31 20:12             ` Ben Hutchings
2011-08-31 20:26               ` Jiri Pirko
2011-08-31 20:31               ` Nicolas de Pesloüan
2011-08-31 20:44                 ` Ben Hutchings
2011-08-31 20:48                 ` Ben Greear
2011-08-31 21:36                   ` Ben Hutchings
2011-08-31 21:40                     ` Stephen Hemminger
2011-09-01  5:46                       ` Jiri Pirko
2011-08-31 21:49                     ` Ben Greear
2011-09-01  5:44                   ` Jiri Pirko
2011-08-30 14:46 ` [patch net-next-2.6 2/2] dummy: implement carrier change Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).