for now we release only all the ports when the module is unloaded. It doesn't make really a lot of sense to release single ports on the hfcmulti cards. The better way would be to relase the ports from the queue instead. But the queue knows only about single stacks .. I propose to add a MODULE_REGISTER and MODULE_RELEASE to the mqueue, this one cleans up all the necessary stuff and we only send a MODULE_RELEASE from within the module_unload function. For now this fix should work in most cases.
This commit is contained in:
parent
b5f2e62aa8
commit
c2def45158
|
@ -3197,8 +3197,10 @@ bugtest
|
|||
case MGR_RELEASE | INDICATION:
|
||||
if (debug & DEBUG_HFCMULTI_MGR)
|
||||
printk(KERN_DEBUG "%s: MGR_RELEASE = remove port from mISDN\n", __FUNCTION__);
|
||||
#if 0
|
||||
if (test_bit(FLG_DCHANNEL, &chan->Flags))
|
||||
release_port(hc, hc->chan[ch].port); /* hc is free */
|
||||
#endif
|
||||
break;
|
||||
#ifdef FIXME
|
||||
case MGR_CONNECT | REQUEST:
|
||||
|
|
Loading…
Reference in New Issue