atm: propagate signal changes via notifier
authorKarl Hiramoto <karl@hiramoto.org>
Thu, 8 Jul 2010 20:55:30 +0000 (20:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 07:09:20 +0000 (00:09 -0700)
commit7313bb8f3dd6e28bcf9c42adfd54a5cf9a4949e0
tree65d8486a2ff4aabc23e0b021f068dd3788081923
parent68dc9d36c19aa1fd1633427b419d5e1f44753e8a
atm: propagate signal changes via notifier

Add notifier chain for changes in atm_dev.

Clients like br2684 will call register_atmdevice_notifier() to be notified of
changes. Drivers will call atm_dev_signal_change() to notify clients like
br2684 of the change.

On DSL and ATM devices it's usefull to have a know if you have a carrier
signal. netdevice LOWER_UP changes can be propagated to userspace via netlink
monitor.

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/atmdev.h
net/atm/common.c