From: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
To: Karl Hiramoto <karl@hiramoto.org>
Cc: linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org
Subject: Re: [Linux-ATM-General] [PATCH 0/6] atm: propagate atm_dev signal carrier to LOWER_UP of netdevice
Date: Sat, 3 Jul 2010 16:09:20 -0400 [thread overview]
Message-ID: <20100703160920.13bb0540@thirdoffive.cmf.nrl.navy.mil> (raw)
In-Reply-To: <1278092830-10473-1-git-send-email-karl@hiramoto.org>
thanks for writing this. this is something that has been missing for
some time in the atm stack. however, i was hoping it could take a
different approach. i would prefer this mechanism to be more generic
instead of being only suitable for signalling carrier changes. take a
look at the notifier/register_netdevice_notifier scheme.
clients (like br2684) who wish to get these notifications, would need
to call register_atmdevice_notifier(). and yes, instead of handling
setting the signal flag yourself, everyone (including the drivers in
usb/atm) should be using the atm_dev_signal_change().
i am not fond of the idea of adding to the vcc struct something that
is really per device, not per vcc.
On Fri, 2 Jul 2010 19:47:04 +0200
Karl Hiramoto <karl@hiramoto.org> wrote:
> In userspace it's helpfull 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 linux-atm
>
> Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
>
> Karl Hiramoto (6):
> atm: add hooks to propagate signal changes to netdevice
> atm br2684: add callback for carrier signal changes.
> 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.
> atm/adummy: add syfs DEVICE_ATTR to change signal
>
> drivers/atm/adummy.c | 39
> +++++++++++++++++++++++++++++++++++++++ drivers/atm/idt77105.c |
> 11 ++++++----- drivers/atm/solos-pci.c | 6 +++---
> drivers/atm/suni.c | 5 +++--
> include/linux/atmdev.h | 5 +++++
> net/atm/br2684.c | 13 +++++++++++++
> net/atm/common.c | 33 +++++++++++++++++++++++++++++++++
> 7 files changed, 102 insertions(+), 10 deletions(-)
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Linux-atm-general mailing list
> Linux-atm-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-atm-general
>
prev parent reply other threads:[~2010-07-03 20:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-02 17:47 [PATCH 0/6] atm: propagate atm_dev signal carrier to LOWER_UP of netdevice Karl Hiramoto
2010-07-02 17:47 ` [PATCH 1/6] atm: add hooks to propagate signal changes to netdevice Karl Hiramoto
2010-07-02 17:47 ` [PATCH 2/6] atm br2684: add callback for carrier signal changes Karl Hiramoto
2010-07-02 17:47 ` [PATCH 3/6] atm/idt77105.c: call atm_dev_signal_change() when " Karl Hiramoto
2010-07-02 17:47 ` [PATCH 4/6] atm/solos-pci: " Karl Hiramoto
2010-07-02 17:47 ` [PATCH 5/6] atm/suni.c: " Karl Hiramoto
2010-07-02 17:47 ` [PATCH 6/6] atm/adummy: add syfs DEVICE_ATTR to change signal Karl Hiramoto
2010-07-03 20:09 ` chas williams - CONTRACTOR [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100703160920.13bb0540@thirdoffive.cmf.nrl.navy.mil \
--to=chas@cmf.nrl.navy.mil \
--cc=karl@hiramoto.org \
--cc=linux-atm-general@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).