kernel-ark/drivers/isdn
Jan Kiszka ef69bb2ec6 CAPI: Rework controller state notifier
Another step towards proper locking: Rework the callback provided to
capidrv for controller state changes. This is so far attached to an
application, which would require us to hold the corresponding lock
across notification calls.

But there is no direct relation between a controller up/down event and
an application, so let's decouple them and provide a notifier call chain
for those events instead. This notifier chain is first of all used
internally. Here we request the highest priority to unsure that
housekeeping work is done before any other notifications. The chain is
exported via [un]register_capictr_notifier to our only user, capidrv, to
replace the racy and unfixable capi20_set_callback.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 16:01:21 -08:00
..
act2000 Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
capi CAPI: Rework controller state notifier 2010-02-16 16:01:21 -08:00
divert headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
gigaset proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
hardware mISDN: positive error return should be negative in mode_hfcmulti() 2010-02-03 20:16:48 -08:00
hisax hisax: timeout off by one in waitrecmsg() 2010-02-03 20:16:46 -08:00
hysdn proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
i4l Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
icn Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
isdnloop
mISDN mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion 2009-12-18 20:30:11 -08:00
pcbit Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
sc Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile