blob: 559955f3695f8bb6bc0b0400e409bc242ec614b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
- the code is a bloody mess, clean it up
- XXX & TODO
- remove any commented-out code
+ keep better track of where everything is allocated and initialized
+ is the deinit correct? prolly not!
- harmonize traces
- The alarm should be initialized to DAHDI_ALARM_RED. Redo S/T init/reset code.
- the B chan and PCM stuff is not implemented at all
- shouldn't part of what is done in the interrupt handler be done later in a
tasklet?
- the drivers from which this one was adapted assumed that the D chan was the
last one in the span. For simplicity regarding the configuration of the XHFC,
this driver takes the third chan (which index is therefore 2) of the span as
the D chan. Verify that there is no part of the current code that contradicts
this, and that DAHDI itself doesn't make such assumptions.
- the module relies on the fact that it can't be interrupted by himself to
ensure that there is no sync problem. However, there may be problems in the
user part. Add a (or several) mutex for access to the hardware.
|