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

357 Commits

Author SHA1 Message Date
Ralph Metzler
611065f572 add defines to simply IRQ handler 2017-12-05 19:37:29 +01:00
Ralph Metzler
eabde4ab5a add back old input handler as option 2017-12-05 19:33:16 +01:00
Ralph Metzler
ea09ce3b7b add device id 9 for MaxSX8 type cards 2017-12-05 19:26:26 +01:00
Ralph Metzler
c56e156176 add MaxSX8 hardware defs 2017-12-05 19:23:07 +01:00
Ralph Metzler
b7c9038f51 add ddb_irq_set to set irq handlers
always use tasklet/workqueue for input/ouput handlers
2017-10-25 23:03:16 +02:00
Ralph Metzler
a385bcb70c clean up ddbread/write function names 2017-10-25 23:01:46 +02:00
Ralph Metzler
7bb6cf99e2 add dummy tuner with 125MByte/s dummy data stream 2017-10-23 21:07:28 +02:00
Ralph Metzler
7e6f9d6e9d change dma buffer number and size from defines to module parameters 2017-10-23 00:14:39 +02:00
Ralph Metzler
e239a6d772 move common workqueue and class init/exit to core 2017-10-22 20:58:58 +02:00
Ralph Metzler
3a2e87eefe add MSI-X support 2017-10-22 19:55:07 +02:00
Ralph Metzler
0f05b1988a - add lock loss irq handler
- add modulator ioctl mutex
- some more documentation about modulator properties
2017-10-17 23:49:31 +02:00
Ralph Metzler
249b1e0b40 add lock lost define 2017-10-12 14:20:14 +02:00
Ralph Metzler
20d4867869 add property get for attenuator, gain and status 2017-10-12 14:18:00 +02:00
Ralph Metzler
3778a64de5 add MODULATOR_RESET property 2017-10-11 13:47:50 +02:00
Ralph Metzler
1c22a07eaa adapt dvb-core, includes and affected files to mainline 4.14-rc2 2017-09-26 22:09:05 +02:00
mvoelkel
f84d196a1e compiling for kernel 4.12.x 2017-09-25 19:20:17 +02:00
mvoelkel
41897e48c8 bump version to 0.9.32 2017-09-23 12:12:38 +02:00
Ralph Metzler
e817b91860 re-enable port_attach error handling 2017-09-10 23:12:54 +02:00
Ralph Metzler
b814cf09e4 use enums instead of types 2017-09-10 23:11:15 +02:00
Ralph Metzler
0dd0997133 change FSM card channel number detection to use register 0x1c 2017-09-10 22:25:02 +02:00
Ralph Metzler
983949f4dd - initialize modulators before registering devices to prevent races
- check for number of FSM modulator channels before allocating ports
2017-09-09 00:21:11 +02:00
Ralph Metzler
fe5f6b737c convert all device information structs to const and fix related problems 2017-09-08 14:47:14 +02:00
Ralph Metzler
e4acb524a7 return EINVAL if input NULL (e.g. in case of mod devices) 2017-09-06 17:51:30 +02:00
Ralph Metzler
aa2762747f move MaxS8 and special MAX card LNB functions to separate file 2017-08-27 23:54:49 +02:00
Ralph Metzler
117d9a065d correct header line 2017-08-27 22:17:27 +02:00
Ralph Metzler
17b3e1ed26 move ci support to separate file 2017-08-27 22:09:43 +02:00
Ralph Metzler
07f7720145 prefix irq handlers with ddb_ to avoid name collisions 2017-08-27 21:42:02 +02:00
Ralph Metzler
b2ca06e639 strict checkpatch style fixes 2017-08-26 22:04:37 +02:00
Ralph Metzler
2b6babfdc0 coding style fixes according to checkpatch 2017-08-26 10:32:53 +02:00
Ralph Metzler
5074e28e10 change output functions from pr_ to dev_ 2017-08-25 23:30:58 +02:00
Ralph Metzler
27601b4769 fix for new kernels 2017-08-25 22:07:43 +02:00
mvoelkel
5751c3fb1a bump version to 0.9.31 2017-08-11 22:57:02 +02:00
Ralph Metzler
7602ecf3e5 fixed regression for FSM modulators 2017-08-04 17:50:03 +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
665b5ef857 add Kconfigs and Makefiles for OctopusNet kernel 2017-08-02 17:34:53 +02:00
Ralph Metzler
c063cffa63 fix comparison for older cards 2017-08-02 16:47:56 +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
eb81f006e4 bump version to 0.9.30 2017-07-26 15:16:14 +02:00
Ralph Metzler
af554da865 add ddbridge-hw file with hardware info 2017-07-26 15:15:06 +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
fd21584ecc Use ddbridge version macro for octonet version 2017-07-24 01:05:31 +02:00
Ralph Metzler
6814a8fa23 move common functions of ddbridge and octonet to core 2017-07-24 01:03:40 +02:00
Ralph Metzler
49d4bd0da8 fix MSI/non-MSI compilation 2017-07-18 01:25:55 +02:00
Ralph Metzler
e68ce2ef62 add __refdata 2017-07-18 00:23:13 +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
3285b6ade0 modulator type 1 has no vga 2017-06-12 14:23:35 +02:00
Ralph Metzler
e6dd33deec write really availalble modulator channels to port_num 2017-06-12 14:21:21 +02:00
Ralph Metzler
93e42deeaa only eval register 0x1c for modulator type 1 2017-06-12 14:21:21 +02:00
Ralph Metzler
e415b6e203 force gap setting if given by attribute 2017-06-12 14:21:21 +02:00
manf
1354b9021f increased fm power 2017-06-02 01:14:15 +02:00
manf
4d17f2f5f0 mod3: atten,gain fixed 2017-06-01 20:13:08 +02:00
Ralph Metzler
5fa08eb288 add gain control 2017-06-01 16:46:44 +02:00
Ralph Metzler
40c32767ec new release 2017-05-17 19:42:25 +02:00
Ralph Metzler
8704ceaf94 change default frequencies for SDR modulator 2017-05-16 21:25:30 +02:00
Ralph Metzler
3063b8e88b revert struct name change 2017-05-04 16:08:13 +02:00
Ralph Metzler
7d73553b61 start output DMA with stall bit set 2017-05-04 09:09:34 +02:00
Ralph Metzler
5d4259f6f6 remove warning for unused code 2017-04-25 19:00:19 +02:00
Ralph Metzler
04294ab5ef increase to 32 buffers for SDR 2017-04-25 18:59:47 +02:00
Ralph Metzler
f44a9dfcbd coding style fixes 2017-04-16 21:20:52 +02:00
Ralph Metzler
b3b7a0ef2e cleanup old code 2017-04-16 14:55:00 +02:00
Ralph Metzler
bfd1f1979d swapped if/else 2017-04-10 17:32:16 +02:00
Ralph Metzler
8931ae4d9e add frequency and center frequency setting for SDR modulator 2017-04-10 11:55:44 +02:00
Ralph Metzler
bba5fa5683 kernel 4.11 fixes 2017-04-10 11:46:36 +02:00
Ralph Metzler
ae37a1e4e9 change SDR to 16 outputs 2017-04-10 11:45:43 +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
785d7c5126 change command name from UNI to SCIF 2017-04-07 22:20:40 +02:00
Ralph Metzler
52b81cfd8e typo 2017-04-07 12:50:01 +02:00
Ralph Metzler
263d593bcf simplify device table 2017-04-07 12:28:55 +02:00
Ralph Metzler
fa36763d43 - add support for setting ARI
- use coorect base frequency
2017-04-07 12:27:35 +02:00
Ralph Metzler
eb6652f18f lower gain for 16 output channel image 2017-03-13 13:00:12 +01: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
4bfdb11762 add id for pro advanced 2017-02-06 13:25:57 +01:00
Ralph Metzler
3a3a48654e support cine s2 v7a 2017-02-01 17:48:59 +01:00
Ralph Metzler
1a80437b98 use correct type u32 for pll init table 2017-01-22 13:43:53 +01:00
Ralph Metzler
28a2aaa653 improved PLL setup for modulator 2017-01-22 02:05:44 +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
4ee27ff317 change DMA buf size for small bufs to be multiple of 128 2016-10-10 00:14:03 +02:00
Ralph Metzler
1171b345df change MOD_ to MODULATOR_ because of overlapwith timex.h 2016-09-12 14:41:47 +02:00
Ralph Metzler
7f746f0219 backwards compatibility: set all frequencies of V2 card if base frequency is set 2016-09-12 13:46:10 +02:00
mvoelkel
49a05e75af Set version 0.9.26 2016-09-05 16:16:02 +02:00
Ralph Metzler
c546918e79 set deafult ci bitrate to 70MHz 2016-09-05 14:25:43 +02:00
Ralph Metzler
85b1447059 add new properties API for modulator 2016-09-05 14:25:43 +02:00
mvoelkel
5252c5318d Version 0.9.25 2016-08-31 19:10:39 +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
a98a7c95a8 fix for V2 2016-08-04 19:40:55 +02:00
Ralph Metzler
38f0e9611e new release 2016-08-03 13:49:17 +02:00
Ralph Metzler
4ed35e1de5 support temperatures on V2 modulator boards 2016-08-02 21:22:18 +02:00
Ralph Metzler
1567d804b1 set vga according to ouputs 2016-08-02 21:08:40 +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
39ce49dbd8 fix pci-compat include for newer kernels 2016-06-10 09:43:04 +02:00
Ralph Metzler
421adf6872 cleanup 2016-06-08 12:12:32 +02:00
Ralph Metzler
65f9f56cfe prepare for llowing different buffer number/sizes 2016-05-31 17:01:08 +02:00
Ralph Metzler
53c32d47e0 prepare for new redirect 2016-05-31 16:53:04 +02:00
Ralph Metzler
a456f8d5d9 add card, link and port number to i2c name 2016-05-10 12:01:14 +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
5633c2f79d increase port and output max 2016-04-24 21:44:01 +02:00
mvoelkel
74f172a4fe Fixed octopro i2c regmap 2016-04-21 21:48:26 +02:00
Ralph Metzler
cc6209af33 typo fixes
pci bus master fix
2016-04-21 20:11:09 +02:00
Ralph Metzler
de16096894 add new maps for dma and i/o 2016-04-20 16:27:56 +02:00
Ralph Metzler
a4062a1582 add mdio regmap 2016-04-17 19:43:54 +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
3c6028f485 wrong interrupt status offsets 2016-04-15 19:17:00 +02:00
Ralph Metzler
6a49ab08ab add octopro entry 2016-04-15 19:16:04 +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
mvoelkel
faee02e446 set version 0.9.23 2016-04-11 18:26:36 +02:00
Ralph Metzler
1d3bb91eb8 cleanup 2016-04-11 18:26:07 +02:00
mvoelkel
b5a44d581d Fallback for Max-A8 added 2016-04-11 18:22:37 +02:00
mvoelkel
81966f8982 Add missing Max A8 variants 2016-04-11 18:22:11 +02:00
Ralph Metzler
dd540699c3 remove debugging message 2016-04-11 18:20:49 +02:00
Ralph Metzler
a8ed36fef2 cleanup 2016-04-11 18:20:13 +02:00
Ralph Metzler
197897731e NULL pointer cleanup 2016-04-11 18:17:20 +02:00
mvoelkel
781686c87d Set version number to 0.9.22 2016-01-13 16:58:01 +01:00
mvoelkel
16f0d291b1 Version 0.9.21 2015-12-11 16:06:24 +01:00
Ralph Metzler
829929a41f cine s2 v7 has TS lines crossed 2015-12-10 18:26:45 +01:00
Ralph Metzler
e83dedf6b4 First check for LNBHs on 0x0c/0x0d. 2015-10-22 14:55:55 +02:00
Ralph Metzler
bb334ea229 Change handling of card type attribute. 2015-10-22 14:52:59 +02:00
Ralph Metzler
535683dfb6 Octopus CI single has two TABs. Handle both I2C busses. 2015-10-22 14:52:27 +02:00
Ralph Metzler
d10c83f16a Change handling of card type attribute. 2015-10-22 14:51:36 +02:00
Ralph Metzler
18481e2ea6 destroy attribute devices earlier to prevent accesses after I2C devices are already gone 2015-09-25 17:45:48 +02:00
Ralph Metzler
e2145682e2 block opening of ci device with O_RDWR 2015-09-24 23:29:09 +02:00
Ralph Metzler
1aacccef7c add remote interrupt status to debug message 2015-09-20 01:50:39 +02:00
Ralph Metzler
dd78dae68b loop over remote link interrupt status to prevent race condition 2015-09-20 01:45:11 +02:00
Ralph Metzler
0393ab4db4 remove debugging messages 2015-09-19 22:20:35 +02:00
Ralph Metzler
29dc0f9e31 Initial support for Max C2T2-8 2015-09-17 18:54:25 +02:00
Ralph Metzler
4209e3a03a more I2C debugging 2015-09-09 12:13:11 +02:00
Ralph Metzler
4f53aa9a1b store ids for all links in link structure and add devid attribute 2015-09-06 19:08:57 +02:00
Ralph Metzler
4e1b527c35 - fix dynamic fmode changes
- 69Mhz no longer needed for MaxS8 on GT link
- show state in GT link change
2015-08-31 20:53:22 +02:00
Ralph Metzler
5af6007152 inc copyright year 2015-08-31 20:46:28 +02:00
Ralph Metzler
151770c0d8 inc version number 2015-08-31 20:45:25 +02:00
mvoelkel
9e2128c4fb initial commit from dddvb-0.9.19c 2015-08-05 17:22:42 +02:00