Debian Patches

Status for dahdi-linux/1:2.11.1.0.20170917~dfsg-7.4

Patch Description Author Forwarded Bugs Origin Last update
dahdi_linux_extra dahdi-extra: out-of-tree DAHDI drivers
This patch includes a number of out-of-tree DAHDI drivers from the
dahdi-extra repository. They are all out-of-tree and are highly likely
not to be included in DAHDI-linux in the foreseeable future.

Currently only includes OSLEC, ZapHFC and opvxa1200.
Tzafrir Cohen <tzafrir.cohen@xorcom.com> no https://notabug.org/tzafrir/dahdi-linux-extra 2018-01-02
no_firmware_download The firmware downloaders are extra kernel objects that are now required for
the Hardware echo canceller support in some Digium cards (wctdm24xxp,
wcte12xp). They are downloaded at build time. The makefile will build
with support for them if they were indeed downloaded.

This patch removes this downloading and thus keeps those modules
DFSG-compliant. Unlike the Digium firmwares, this is a compile-time
decision and hence cannot be reverted once a dahdi-modules package is
built.

===================================================================
no
chanmute Enable CHANMUTE optimization (for xpp, mostly)
Enable the OPTIMIZE_CHANMUTE code: don't waste CPU time on channels
whose audio is not useful. Currently only used by xpp drivers, and
disabled by default by upstream.
Tzafrir Cohen <tzafrir.cohen@xorcom.com> no
notest Remove a bodus "test" target Tzafrir Cohen <tzafrir.cohen@xorcom.com> yes upstream
tor2-request_firmware tor2: Use request_firmware() to load bitfile
Non-free bits belong in separate (source & binary) packages.
This driver must use request_firmware() to load the FPGA bitfile.
Ben Hutchings <ben@decadent.org.uk> no debian
pciradio-request_firmware pciradio: Use request_firmware() to load bitfile
Non-free bits belong in separate (source & binary) packages.
This driver must use request_firmware() to load the FPGA bitfile.
Ben Hutchings <ben@decadent.org.uk> no debian
hotplug_mod_params use hotplug mode ("pinned spans") by default
Disable automatic span assignment. Span assignment should be done by
userspace udev hooks.
Tzafrir Cohen <tzafrir.cohen@xorcom.com> no
dev_attr.patch [PATCH] DAHDI in kernel 4.13: dev_attr to dev_groups
dev_attrs was removed from struct bus_type on kernel 4.13, need to
convert to dev_groups, see
http://lkml.iu.edu/hypermail/linux/kernel/1706.0/04578.html.

DAHLIN-356 #close
Jean-Denis Girard <jd.girard@sysnux.pf> no 2017-12-31
6667f1c8d8fadc29ef95dce4f8b025f38d3d3084.patch [PATCH] DAHDI in kernel 4.15: Switch to new timer_setup interface.
Upstream kernel 4.14, in commit (686fef928bba6b "timer: Prepare to change timer
callback argument type") [1], introduced the timer_setup interface to replace
the init_timer/setup_timer interfaces. The primary change is that the timer
callback functions now follow the standard kernel pattern where the structure
the callback sits in is passed to the callback instead of storing a pointer to
an unassociated data type.

The setup_timer functions were removed in upstream kernel v4.15, and therefore
this change is needed in order to compile DAHDI for kernels >= 4.15.

This change follows the same strategy that was done in the kernel to while the
existing users of setup_timer were migrated to the new interface.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=686fef928bba6b
Shaun Ruffell <sruffell@sruffell.net> no 2018-08-10
db9c5f5c89cef77702ef4c5c1669d2d9bb999557.patch [PATCH] oct612x: timeval -> ktime
The timeval structure is removed in Linux kernel 5.0 since it is not
year 2038 safe. Standardize on the ktime values.
Shaun Ruffell <sruffell@sruffell.net> no 2019-01-08
ac50b368aae91d93f28c8a532a32fb213b62055d.patch [PATCH] dahdi: Update coretimer to use ktime instead of 'struct timespec'

Since this is only used internally, and ktime is the basis for
timekeeping in the kernel, this allows this interface to be validated,
before converting the other internal timekeeping to it.

This is part of the changes necessary to remove the use of 'struct
timeval' from the driver suite for compatibility with Linux 5.0, which
is updating the internal timekeeping interfaces to fix the 2038 problem.
Shaun Ruffell <sruffell@sruffell.net> no 2019-01-10
9991c959ef14a8db47fab9ee0c7fa55316c055cf.patch [PATCH] dahdi_dummy: Fix timer_setup API usage.
It looked like the recent change to add support for timer_setup was not
completely implemented / tested with dahdi_dummy. I was using it to
check some changes to the timekeeping API when I noticed this.

This does not really affect anyone since, by default, dahdi_dummy is no
longer built and even if it was built, it would not use the standard
timer interface by default on newer kernels.
Shaun Ruffell <sruffell@sruffell.net> no 2019-01-10
3e2eb9ca32e3231c5f63d9af55f475f98e741a36.patch [PATCH] dahdi_dummy: 'struct timespec' -> ktime_t
Use the new ktime_t based interface for dahdi_dummy as well. dahdi_dummy
is still useful to keep around for testing purposes.
Shaun Ruffell <sruffell@sruffell.net> no 2019-01-10
8468250328b607cbd2774c2209fbe5826be01098.patch [PATCH] dahdi: define dahdi_ktime_equal()
Older kernels (2.6.32) are unable to do a direct comparison of ktime
values, while kernels post 4.10 have removed the comparison function.
Therefore we need to make our own compatibility interface for comparing
the ktime values.
Shaun Ruffell <sruffell@sruffell.net> no 2019-03-28
ffcd08205c71dcb0e060836359418bef20f07ffa.patch [PATCH] xpp: Convert `struct timeval` -> ktime_t.
`struct timeval` has been removed from the kernel interface in 5.0 as
part of fixing the 2038 problem. ktime_t is the preferred kernel time
interface now.
Shaun Ruffell <sruffell@sruffell.net> no 2019-03-27
d07c4545ec48fac51ecd5309568504a59f4ada39.patch [PATCH] dahdi: Store the span registration time as a ktime_t value as well.

Ideally we want to standardize on storing all timestamps derivied from the
system clock as ktime_t values.
Shaun Ruffell <sruffell@sruffell.net> no 2019-03-28
linux_5_0_subdirs.patch [PATCH] Makefile: SUBDIRS -> KBUILD_EXTMOD
The SUBDIRS environment variable is scheduled to be removed in version
5.0 of the Linux Kernel.
Shaun Ruffell <sruffell@sruffell.net> no 2019-01-08
linux_5_4_no_aspm.patch Linux 5.4 merged pci-aspm.h into pci.h

===================================================================
no
linux_5_6_hostprogs.patch Avoid deprecation warning from Linux 5.6+ build system.

===================================================================
no
linux_5_6_procops.patch Linux 5.6 replaced file_operations with proc_ops for procfs code.

===================================================================
no
linux_5_9_ioctl.patch Linux 5.9+ no longer defines these old HAVE_... defines,
but they are always true since 3.x or ealier.

===================================================================
no
divide64bit.patch Avoid 64bit division, or where needed use kernel support functions
for it.

Needed on (at least) armhf and i386.

===================================================================
no

All known versions for source package 'dahdi-linux'

Links