netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/9] atm:  propagate atm_dev signal carrier to LOWER_UP of netdevice
@ 2010-07-07  8:50 Karl Hiramoto
  2010-07-07  8:50 ` [PATCH v3 1/9] atm: propagate signal changes via notifier Karl Hiramoto
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Karl Hiramoto @ 2010-07-07  8:50 UTC (permalink / raw)
  To: linux-atm-general, netdev, chas; +Cc: Karl Hiramoto

Changes from v2:
 * use atomic instead of blocking notifier
 * use read_lock_irq() instead of read_lock() in atm/br2684
 * clean up comments
 * remove unused variable.  I feel really bad about missing that last time.
 
Changes from v1:
Use atm_dev notifier chain  instead of callback function pointer in struct vcc.
In drivers/usb/atm call atm_dev_signal_change().

In userspace it's helpful to know if a network device has a carrier signal.
Often it is monitored via netlink.  This patchset allows a way for the
struct atm_dev drivers to pass carrier on/off to the netdevice.

For DSL, carrier is on when the line has reached showtime state.

Currently this patchset only propagates the changes to br2684 vccs,
as this is the only type of hardware I have to test.

If you prefer git you can pull from:
git://github.com/karlhiramoto/linux-2.6.git atm-v3

Karl Hiramoto (9):
  atm: propagate signal changes via notifier
  atm/br2684: register notifier event for carrier signal changes.
  atm/adummy: add syfs DEVICE_ATTR to change signal
  atm/idt77105.c: call atm_dev_signal_change() when signal changes.
  atm/solos-pci: call atm_dev_signal_change() when signal changes.
  atm/suni.c: call atm_dev_signal_change() when signal changes.
  usb/atm/cxacru.c: call atm_dev_signal_change() when signal changes.
  usb/atm/speedtch.c: call atm_dev_signal_change() when signal changes.
  usb/atm/ueagle-atm.c: call atm_dev_signal_change() when signal
    changes.

 drivers/atm/adummy.c         |   39 ++++++++++++++++++++++++
 drivers/atm/idt77105.c       |   11 ++++---
 drivers/atm/solos-pci.c      |    6 ++--
 drivers/atm/suni.c           |    5 ++-
 drivers/usb/atm/cxacru.c     |   18 ++++++------
 drivers/usb/atm/speedtch.c   |   10 +++---
 drivers/usb/atm/ueagle-atm.c |   13 ++++++--
 include/linux/atmdev.h       |   19 ++++++++++++
 net/atm/br2684.c             |   66 ++++++++++++++++++++++++++++++++++++++++-
 net/atm/common.c             |   30 +++++++++++++++++++
 10 files changed, 188 insertions(+), 29 deletions(-)


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

end of thread, other threads:[~2010-07-07 22:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07  8:50 [PATCH v3 0/9] atm: propagate atm_dev signal carrier to LOWER_UP of netdevice Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 1/9] atm: propagate signal changes via notifier Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 2/9] atm/br2684: register notifier event for carrier signal changes Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 3/9] atm/adummy: add syfs DEVICE_ATTR to change signal Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 4/9] atm/idt77105.c: call atm_dev_signal_change() when signal changes Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 5/9] atm/solos-pci: " Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 6/9] atm/suni.c: " Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 7/9] usb/atm/cxacru.c: " Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 8/9] usb/atm/speedtch.c: " Karl Hiramoto
2010-07-07  8:50 ` [PATCH v3 9/9] usb/atm/ueagle-atm.c: " Karl Hiramoto
2010-07-07 22:07 ` [PATCH v3 0/9] atm: propagate atm_dev signal carrier to LOWER_UP of netdevice David Miller

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).