[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1278658538-6769-7-git-send-email-karl@hiramoto.org>
Date: Fri, 9 Jul 2010 08:55:35 +0200
From: Karl Hiramoto <karl@...amoto.org>
To: linux-atm-general@...ts.sourceforge.net, netdev@...r.kernel.org,
chas@....nrl.navy.mil, davem@...emloft.net
Cc: Karl Hiramoto <karl@...amoto.org>
Subject: [PATCH v5 6/9] atm/suni.c: call atm_dev_signal_change() when signal changes.
Propagate changes to upper atm layer.
Signed-off-by: Karl Hiramoto <karl@...amoto.org>
---
drivers/atm/suni.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c
index da4b91f..41c56ea 100644
--- a/drivers/atm/suni.c
+++ b/drivers/atm/suni.c
@@ -291,8 +291,9 @@ static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
static void poll_los(struct atm_dev *dev)
{
- dev->signal = GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ? ATM_PHY_SIG_LOST :
- ATM_PHY_SIG_FOUND;
+ atm_dev_signal_change(dev,
+ GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ?
+ ATM_PHY_SIG_LOST : ATM_PHY_SIG_FOUND);
}
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists