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
rjkm
cdc5395996
translate old attenuator propert to new MCI API
2022-02-20 23:16:52 +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
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
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
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
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
8bda007f05
add MCI registers for FSM
2021-12-06 14:54:51 +01:00
rjkm
b606a7b2b2
increase wit time after powerup and before reset to 300ms
...
Signed-off-by: rjkm <none>
2021-09-23 15:07:00 +02:00
rjkm
719ac4d231
remove workqueue and threaded interrupt modes, they are too laggy
2021-09-19 19:05:05 +02:00
rjkm
b23187a049
Add module paramaters for SX8 tuner flags and gain.
2021-08-08 22:14:42 +02:00
rjkm
0165538f13
prepare to get roll off for SDR mode from parameters but use fixed one
...
for now
2021-08-07 23:00:29 +02:00
rjkm
0b9d3ffa6b
move lut for use in other functions
2021-08-07 22:57:40 +02:00
rjkm
f7fcc1511d
add extended stats
2021-08-07 22:30:10 +02:00
rjkm
37ae102d57
use correct u8 type
2021-08-07 22:30:01 +02:00
rjkm
66b1cf3623
new signal loss counter field
2021-08-07 22:29:17 +02:00
rjkm
7f002f1356
add 7/8 to offset 4
2021-08-07 22:28:42 +02:00
rjkm
418bd83b40
only set tuner flags once
2021-07-05 18:42:05 +02:00
none
c23435e275
handle revision 1 mods differently
2021-06-23 11:18:35 +02:00
none
8f5af7742d
do not use workqueues by dfault, they can lead to dma overflows
2021-06-22 20:51:28 +02:00
none
e1e569975f
add FW version to output
2021-06-06 20:23:43 +02:00
none
b9998ee9e2
add new structs
2021-06-06 20:23:06 +02:00
none
8039097426
add support for FE_TIMEDOUT
2021-05-26 22:39:27 +02:00
mvoelkel
f3d5adc777
added puncture_rate to modulator stream setup
2021-04-17 21:03:05 +02:00
none
50e354c49a
cleanup
2021-04-07 19:29:53 +02:00
none
a5ad0b0584
show MCI firmware version
2021-04-07 19:28:12 +02:00
none
3cb3df51cf
use correct kernel integer types
2021-04-07 19:27:21 +02:00
none
2311b94970
add modulator MCI commands
2021-04-07 19:25:32 +02:00
none
f12fe91b51
use PCI revision to determine major firmware version
2021-04-07 19:21:24 +02:00
none
35c283bf2f
remove test command
2021-04-07 19:20:38 +02:00
none
41a9626be4
remove unnused variable
2021-04-07 19:20:24 +02:00
none
a6c3b82f83
make include usable in user space
2021-03-18 13:48:09 +01:00