[asterisk-bugs] [DAHDI-linux 0010601]: Function dahdi_register should get a Linux 2.6 module and dahdi_unregister put

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 29 15:56:10 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=10601 
====================================================================== 
Reported By:                Matti
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   10601
Category:                   NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2007-08-30 00:40 CDT
Last Modified:              2009-06-29 15:56 CDT
====================================================================== 
Summary:                    Function dahdi_register should get a Linux 2.6
module and dahdi_unregister put
Description: 
Function zt_register should get a and function zt_unregister put a Linux
2.6 module. Module zaptel can call functions of registered modules and it
would be cleaner if zaptel itself took care of the modules not unloading
and leaving stale function pointers.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012606 zaptel.init: Unloading kernel modules w...
====================================================================== 

---------------------------------------------------------------------- 
 (0107171) svnbot (reporter) - 2009-06-29 15:56
 https://issues.asterisk.org/view.php?id=10601#c107171 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 6794

U   linux/trunk/drivers/dahdi/dahdi-base.c
U   linux/trunk/drivers/dahdi/dahdi_dummy.c
U   linux/trunk/drivers/dahdi/dahdi_dynamic.c
U   linux/trunk/drivers/dahdi/pciradio.c
U   linux/trunk/drivers/dahdi/tor2.c
U   linux/trunk/drivers/dahdi/wcb4xxp/base.c
U   linux/trunk/drivers/dahdi/wcfxo.c
U   linux/trunk/drivers/dahdi/wct1xxp.c
U   linux/trunk/drivers/dahdi/wct4xxp/base.c
U   linux/trunk/drivers/dahdi/wctdm.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/base.c
U   linux/trunk/drivers/dahdi/wcte11xp.c
U   linux/trunk/drivers/dahdi/wcte12xp/base.c
U   linux/trunk/drivers/dahdi/xpp/card_bri.c
U   linux/trunk/drivers/dahdi/xpp/card_fxo.c
U   linux/trunk/drivers/dahdi/xpp/card_fxs.c
U   linux/trunk/drivers/dahdi/xpp/card_pri.c
U   linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
U   linux/trunk/include/dahdi/kernel.h

------------------------------------------------------------------------
r6794 | sruffell | 2009-06-29 15:56:08 -0500 (Mon, 29 Jun 2009) | 9 lines

dahdi-base: Enable DAHDI to manage the reference counts for the board
drivers.

Adds a struct module 'owner' member to the dahdi_span structure and
updates
all the board drivers to set this member before registering the span. 
This
allows the core of dahdi to maintain the reference counts on the channels
itself.

(closes issue https://issues.asterisk.org/view.php?id=10601)
Reported by: Matti
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6794 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-29 15:56 svnbot         Checkin                                      
2009-06-29 15:56 svnbot         Note Added: 0107171                          
======================================================================




More information about the asterisk-bugs mailing list