1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
Commit Graph

753 Commits

Author SHA1 Message Date
Olliver Schinagl
d58e61440e
Makefile: Allow installation to alternative dirs
The Kernel build system supports the `INSTALL_MOD_PATH` to set the
target directory. To facilitate dkms installations, we need to be able
to set this path.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-06-06 16:19:38 +02:00
Olliver Schinagl
6fbed4920a
ddbridge/main: Remove pci_set_dma_mask
Starting with Linux 5.18 `pci_set_dma_mask` has been removed. This patch
mimics commit 887069f42455 (media: switch from 'pci_' to 'dma_' API, Sun
Aug 22 11:30:08 2021 +0200) from upstream and thus prevents the
following compilation error.

ddbridge/ddbridge-main.c: In function ‘ddb_probe’:
ddbridge/ddbridge-main.c:286:14: error: implicit declaration of function ‘pci_set_dma_mask’; did you mean ‘ipi_send_mask’? [-Werror=implicit-function-declaration]
  286 |         if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
      |              ^~~~~~~~~~~~~~~~
      |              ipi_send_mask
ddbridge/ddbridge-main.c:287:17: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
  287 |                 pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-06-06 16:09:26 +02:00
Olliver Schinagl
c58d495688
dvb-core/dmxdev: Ensure ctx is a valid variable
When enabling CONFIG_DVB_MMAP the dvb_vb2_ctx is copied to a
non-existant variable ctx, which causes an obvious compilation error.

dvb-core/dmxdev.c: In function ‘dvb_dmxdev_ts_callback’:
dvb-core/dmxdev.c:495:17: error: ‘ctx’ undeclared (first use in this function)
  495 |                 ctx = &dmxdevfilter->vb2_ctx;
      |                 ^~~
dvb-core/dmxdev.c:495:17: note: each undeclared identifier is reported only once for each function it appears in

This was fixed upstream in commit 57868acc369a (media: videobuf2: Add new uAPI
for DVB streaming I/O, Mon Dec 18 22:35:53 2017 -0500) about 5 years
ago.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-06-06 16:08:17 +02:00
internal
e0539d5074 Merge branch 'internal' 2022-05-02 21:41:27 +02:00
internal
457cb550bb do not use diseqc for scif type 3 2022-05-02 21:38:43 +02:00
internal
d0793274d2 Merge branch 'internal' 2022-03-22 15:23:26 +01:00
internal
ffe8764c01 support bigger Winbond flashs. 2022-03-22 15:22:43 +01:00
internal
fb4f263aa3 Merge branch 'internal' 2022-03-21 17:40:59 +01:00
internal
0892a225d2 support bigger Winbond flashs. 2022-03-21 17:40:11 +01:00
drmocm
431dd4f5ee more examples 2022-03-14 18:46:05 +01:00
rjkm
e9ccab3578 Merge branch 'internal' 2022-02-20 23:22:36 +01:00
rjkm
cdc5395996 translate old attenuator propert to new MCI API 2022-02-20 23:16:52 +01:00
rjkm
a5f3b75d0a Merge branch 'internal' 2022-02-16 15:55:04 +01:00
rjkm
69fcf5d649 disable dumps 2022-02-16 15:53:20 +01:00
rjkm
d5d63ea2ef prepare new init for revision 1 FSM but do not use it for now 2022-02-16 15:52:53 +01:00
rjkm
4b69ae5399 cleanup defines, add license commands 2022-02-15 14:43:32 +01:00
rjkm
1cf0526b24 license register is different for revision 1 (MCI) cards 2022-02-15 14:42:37 +01:00
rjkm
73e8b9943e cleanup tables and add license dump 2022-02-15 14:41:25 +01:00
rjkm
4b09ad7e42 forgot to reenable disseqc 2022-02-15 14:40:32 +01:00
rjkm
c39b234fd6 add support for DVBC 2022-02-12 16:40:27 +01:00
rjkm
c2f86b6438 add MCI ioctl to be used through modX devices 2022-02-12 16:39:01 +01:00
rjkm
6a3ef9873d data64 is not definde in kernel version 2022-02-12 16:37:50 +01:00
rjkm
98b466a2d3 remove debug info 2022-02-12 16:37:00 +01:00
rjkm
78d30ff6ff remove unused function 2022-02-12 16:35:57 +01:00
rjkm
d849abd626 move device info output 2022-02-12 15:49:53 +01:00
rjkm
9517d698dc update modulator defines and structs 2022-02-12 15:47:09 +01:00
rjkm
75821a6e3c properly round SCR frequencies 2022-02-12 15:37:49 +01:00
rjkm
2194f8e03a correct ddB 2022-02-12 15:37:04 +01:00
rjkm
d9a846d199 use MCI interface for modulators with revision 1 2022-02-12 15:28:05 +01:00
rjkm
31a781c2e3 remove non-static definition of mci card configs 2022-02-12 15:19:05 +01:00
rjkm
9b458a72de allow compilation against kerne dvb_core if KERNEL_DVB_CORE defined 2022-02-12 15:14:44 +01:00
rjkm
e0fd8a0f35 snr define was deleted by mistake 2022-02-12 15:09:36 +01:00
rjkm
1b49bfb8f1 use dd_compat file and adjust fallthroughs 2022-02-12 15:07:59 +01:00
rjkm
4ce76407e2 add mci irq for fsm cards 2022-02-11 21:37:06 +01:00
rjkm
a6c53f5ece add backwards compatibility include 2022-02-11 16:08:50 +01:00
rjkm
86579d353e add SNR reading for XO2 CI and use correct I2C device 2022-02-07 19:55:31 +01:00
rjkm
63df691561 add type name for second input of dual CI 2022-02-07 19:15:45 +01:00
rjkm
4aa7a68e21 set roll-off to auto or dvb-core will select default
Signed-off-by: rjkm <none>
2022-01-14 20:23:32 +01:00
rjkm
b6d2a37ac2 adapt to latest mainline dvb-core 2022-01-14 20:23:32 +01:00
rjkm
90e6d4806b allow setting CMDREG_SW during init (disabled for now) 2022-01-14 20:23:32 +01:00
rjkm
d995849fdb add comment about IOMMU 2022-01-14 20:23:32 +01:00
rjkm
b5bb500106 move ns.h to ddbridge directory 2022-01-14 20:23:32 +01:00
rjkm
24b7f979c4 process output_start fails (input cannot fail) 2022-01-14 20:23:32 +01:00
rjkm
be19cdb31d define macro for older kernels 2022-01-14 20:23:32 +01:00
rjkm
56afb2acc1 style cleanup 2022-01-14 20:23:32 +01:00
rjkm
08b3218e5a use already resolved link and info 2022-01-14 20:23:32 +01:00
rjkm
e17abdbbb9 return start error 2022-01-14 20:23:32 +01:00
rjkm
811bea8010 show bb header info 2022-01-14 20:23:32 +01:00
drmocm
e89a868ad5 fixed pam and continuity options 2021-12-10 13:56:05 +01:00
rjkm
f02b135bdb Merge branch 'internal' 2021-12-06 15:15:18 +01:00