summaryrefslogtreecommitdiff
path: root/include/linux/isdn/capilli.h
AgeCommit message (Collapse)Author
2018-05-16isdn: replace ->proc_fops with ->proc_showChristoph Hellwig
And switch to proc_create_single_data. Signed-off-by: Christoph Hellwig <hch@lst.de>
2010-02-16CAPI: Rework locking of controller data structuresJan Kiszka
This patch applies the mutex so far only protecting the controller list to (almost) all accesses of controller data structures. It also reworks waiting on state changes in old_capi_manufacturer so that it no longer poll and holds a module reference to the controller owner while waiting (the latter was partly done already). Modification and checking of the blocked state remains racy by design, the caller is responsible for dealing with this. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16CAPI: Call a controller 'controller', not 'card'Jan Kiszka
At least for our internal use, fix the misnomers that refer to a CAPI controller as 'card'. No functional changes. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-14proc_fops: convert drivers/isdn/ to seq_fileAlexey Dobriyan
Convert code away from ->read_proc/->write_proc interfaces. Switch to proc_create()/proc_create_data() which make addition of proc entries reliable wrt NULL ->proc_fops, NULL ->data and so on. Problem with ->read_proc et al is described here commit 786d7e1612f0b0adb6046f19b906609e4fe8b1ba "Fix rmmod/read/write races in /proc entries" [akpm@linux-foundation.org: CONFIG_PROC_FS=n build fix] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-08isdn: rename capi_ctr_reseted() to capi_ctr_down()Tilman Schmidt
Change the name of the Kernel CAPI exported function capi_ctr_reseted() to something representing its purpose better. Impact: renaming, no functional change Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-02-18[PATCH] ISDN udpateAndrew Morton
From: Karsten Keil <kkeil@suse.de> - new port of 2.4 I4L core to 2.6 - new port of 2.4 I4L HiSax to 2.6 - fixes for I4L CAPI subsystem to make it stable in 2.6 - fix parameter handling of AVM ISA cards (calle) - cleanup ISDN config variables - SMP in act2000 and pcbit driver - remove check_region in act2000 - mark hysdn, isdnloop and divert as BROKEN_ON_SMP
2003-09-03[PATCH] ISDN bugfixes part 1Karsten Keil
Here is the first part of ISDN bugfixes for 2.6. It should make ISDN work again with most controllers. More fixes follow after more testing.
2002-05-26ISDN/CAPI: Export callbacks for CAPI drivers directlyKai Germaschewski
They're always the same, so no point in using function pointers.
2002-05-25ISDN/CAPI: Remove struct capi_driverKai Germaschewski
We rather keep it simple, everything we need is in struct capi_ctr.
2002-05-25ISDN/CAPI: Have hardware driver alloc struct capi_drvKai Germaschewski
The hardware driver needs to alloc mem anyway, and now can fill in fields before registering with the CAPI layer. Basically the same way struct net_device is handled.
2002-05-25ISDN: CAPI: Remove unused capi_driver::driver_read_procKai Germaschewski
In case a driver really wants to put some useful info into /proc/capi/driver, it could create the proc entry directly.
2002-05-11ISDN: Release AVM CAPI controllers at module unload timeKai Germaschewski
Use the standard new-style pci_driver::remove to unregister drivers at module unload time. PCMCIA obviously has its own way of handling removing, the ISA drivers unregister at module unload time as well.
2002-05-11ISDN: Init ISA AVM CAPI drivers at module load timeKai Germaschewski
Don't use a special CAPI solution to tell the drivers about ISA cards but use module parameters, just as other drivers do. Internally use struct pci_dev to save that data - hopefully one day the device tree will provide a nicer way to achieve this.
2002-05-07ISDN: maintain outstanding CAPI messages in the driversKai Germaschewski
It's up to the drivers to maintain their list of buffered messages themselves. As most drivers can share common code, provide it in capilib.o, inside of the module kernelcapi.o
2002-05-06ISDN: export callbacks directlyKai Germaschewski
Just EXPORT_SYMBOL() the callbacks, instead of passing them to the drivers in a struct.
2002-05-06ISDN: CAPI: use <linux/list.h> listsKai Germaschewski
2002-05-06ISDN: CAPI maintain driver MOD_USE_COUNTKai Germaschewski
Apart from the indentation changes, add an owner field to the hardware driver struct and use that to automatically inc/dec the module use count on register_appl()/release_appl()
2002-05-06ISDN: CAPI cleanup: register/releaseKai Germaschewski
Introduce register_appl() / release_appl() which are basically equivalent to open()/close() for net_device's. Remove the registered() / released() callbacks and do the work immediately instead.
2002-04-21Move CAPI subsystem and AVM drivers to their new place in the tree.Kai Germaschewski