aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/isdn
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 10:12:13 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-16 16:01:21 -0800
commitef69bb2ec6036945da1d3d3f07b75253f484f693 (patch)
treead309906a7b20b0b13b573abfb3be9d524f08086 /include/linux/isdn
parentCAPI: Rework capi_ctr_ready/down (diff)
downloadlinux-dev-ef69bb2ec6036945da1d3d3f07b75253f484f693.tar.xz
linux-dev-ef69bb2ec6036945da1d3d3f07b75253f484f693.zip
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>
Diffstat (limited to 'include/linux/isdn')
0 files changed, 0 insertions, 0 deletions