linux/drivers/isdn/capi
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
..
capi.c CAPI: Reduce chattiness during module loading/removal 2010-02-16 16:01:19 -08:00
capidrv.c CAPI: Rework controller state notifier 2010-02-16 16:01:21 -08:00
capidrv.h
capifs.c CAPI: Reduce chattiness during module loading/removal 2010-02-16 16:01:19 -08:00
capifs.h CAPI: Sanitize capifs API 2010-02-16 16:01:18 -08:00
capilib.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
capiutil.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
kcapi_proc.c CAPI: Convert capi drivers rwlock into mutex 2010-02-16 16:01:20 -08:00
kcapi.c CAPI: Rework controller state notifier 2010-02-16 16:01:21 -08:00
kcapi.h CAPI: Convert capi drivers rwlock into mutex 2010-02-16 16:01:20 -08:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile