60 Commits

Author SHA1 Message Date
Daniel Scheller
8532b9f985 ddbridge: prefix irq_handler*() with ddb_
Make the very generic irq_handler*() function names less prone for name
conflicts when the driver is being compiled into the kernel blob by
prefixing the function names with ddb_.

Backported from mainline driver variant. Having the modules from
dddvb compiled into the kernel image is extremely unlikely, but lets keep
things in sync abit anyway.

This doesn't introduce any change in function.
2017-08-27 18:29:20 +02:00
Ralph Metzler
bf0315bcc0 move io functions to ddbridge-io.[ch] 2017-08-02 20:22:52 +02:00
Ralph Metzler
dcddb3437d compile parts of ddbridge and octonet seperately 2017-08-02 17:40:24 +02:00
Ralph Metzler
fd41904378 fix gap handling
gap attribute of 128 will now disable gap
2017-07-27 21:56:39 +02:00
Ralph Metzler
24503d35ad remove no longer used module parameter 2017-07-26 02:13:27 +02:00
Ralph Metzler
3556d6464b Move device info into ddbridge-hw.c and use get_ddb_info
in ddbridge.c, ddbridge-core.c and octonet.c to get
ddb_info for specific devices.

This unifies the method for getting the device info for all hardware.
It also no longer relies on driver_data in struct pci_dev_id
which is deprecated to be used as a pointer.
2017-07-24 22:24:47 +02:00
Ralph Metzler
6814a8fa23 move common functions of ddbridge and octonet to core 2017-07-24 01:03:40 +02:00
Ralph Metzler
774e92bd44 change to unsigned because of possible wrong range 2017-07-11 20:27:42 +02:00
Ralph Metzler
8c46d9a86a change pointer check order 2017-07-11 20:20:39 +02:00
Ralph Metzler
e415b6e203 force gap setting if given by attribute 2017-06-12 14:21:21 +02:00
Ralph Metzler
7d73553b61 start output DMA with stall bit set 2017-05-04 09:09:34 +02:00
Ralph Metzler
f44a9dfcbd coding style fixes 2017-04-16 21:20:52 +02:00
Ralph Metzler
2aee51e447 wrong port type for ct2ti card 2017-04-09 13:20:22 +02:00
Ralph Metzler
264f08fbad add sub-ids for MAX A8 cards on GT-Link 2017-04-07 22:22:06 +02:00
Ralph Metzler
6830f4df08 add sat selection for fmode 1 and 2 2017-04-07 22:21:06 +02:00
Ralph Metzler
21c69918d3 add support for higher IRQs in case of multiple MSI interrupts 2017-03-10 12:29:11 +01:00
Ralph Metzler
d51a9db022 increase buffer for SDR
more SDR card init in driver
2017-02-21 17:12:35 +01:00
Ralph Metzler
532afaa97c changes for latest SDR card devel version 2017-02-09 10:12:43 +01:00
Ralph Metzler
f6c7586815 fix wrong qam register access for SDR cad 2017-01-19 16:37:50 +01:00
Ralph Metzler
d069dc051f basic support for SDR card 2017-01-09 19:28:26 +01:00
Ralph Metzler
7cc9107597 add support for single demod mode for testing high bit rates 2016-12-30 15:03:38 +01:00
Ralph Metzler
1f77192d62 mask lower bits for temp 2016-12-14 19:24:58 +01:00
Ralph Metzler
fc4a807b4e add support for new cine and change 24 MHz osciallator handling 2016-12-14 19:11:57 +01:00
Ralph Metzler
b6d5976e14 support for 24MHz crystals 2016-11-07 21:19:53 +01:00
Ralph Metzler
26eedb3d26 change some pr_info to pr_debug 2016-10-24 15:13:26 +02:00
Ralph Metzler
d1387078f1 add DDBridge to all message lines 2016-10-10 00:19:16 +02:00
Ralph Metzler
c546918e79 set deafult ci bitrate to 70MHz 2016-09-05 14:25:43 +02:00
Ralph Metzler
f20b16cd12 check if info exists 2016-08-29 21:13:48 +02:00
Ralph Metzler
1f4ae2bd51 - add support for new Max S8/A8 with temperature monitor
- move temperature monitor code from mod to core and cleanup modulator ioctls
2016-08-29 18:44:53 +02:00
Ralph Metzler
4ed35e1de5 support temperatures on V2 modulator boards 2016-08-02 21:22:18 +02:00
Ralph Metzler
8c82d0166c first support for V2 modulator cards 2016-07-31 21:41:03 +02:00
Ralph Metzler
16c0834b78 support other CI speeds 2016-06-27 23:01:21 +02:00
Ralph Metzler
805a3ffeed add speed calculation (not used yet) 2016-06-16 15:40:24 +02:00
Ralph Metzler
0d27002a17 missing increment of buf for CI device reads 2016-06-10 09:45:21 +02:00
Ralph Metzler
53c32d47e0 prepare for new redirect 2016-05-31 16:53:04 +02:00
Ralph Metzler
d988c8562b use link 0 offsets for dma interrupts 2016-05-06 12:32:25 +02:00
Ralph Metzler
aaf5707c45 use regmap offset for input enable 2016-05-06 00:55:41 +02:00
Ralph Metzler
1e9b7dc5cc fix port_num loops for dma on link
remove debugging
2016-05-05 00:15:02 +02:00
Ralph Metzler
40edadad3d octopro testing 2016-05-03 22:05:29 +02:00
Ralph Metzler
1b0df5fcfa octopro fixes 2016-05-02 16:27:32 +02:00
Ralph Metzler
de16096894 add new maps for dma and i/o 2016-04-20 16:27:56 +02:00
Ralph Metzler
d180cb70e2 octopro fixes 2016-04-15 23:53:20 +02:00
Ralph Metzler
30ca8e9962 another fix for irq handler v2 2016-04-15 22:51:50 +02:00
Ralph Metzler
4591bab46b irq v2 fixes
add no_init option to prevent most devices initializations
2016-04-15 22:45:55 +02:00
Ralph Metzler
8f30246ff1 first support for v2 irq core 2016-04-15 18:08:51 +02:00
Ralph Metzler
92d8b37839 q 2016-04-13 22:19:10 +02:00
Ralph Metzler
0b4d6d807a MSI fixes
- ack only the status bits belonging to corresponding interrupt handler
- set msi 2 instead of 1
2016-04-13 22:19:10 +02:00
Ralph Metzler
64f21d8f99 allow higher transer speed for stv0910 2016-04-12 12:19:14 +02:00
Ralph Metzler
1d3bb91eb8 cleanup 2016-04-11 18:26:07 +02:00
Ralph Metzler
197897731e NULL pointer cleanup 2016-04-11 18:17:20 +02:00