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

361 Commits

Author SHA1 Message Date
Ralph Metzler
ab0f16099b paasify gcc regarding supposedly possibly undefined adap (can actually never happen) 2019-08-13 21:37:10 +02:00
Ralph Metzler
2e392cfe43 add some pcie debugging 2019-08-12 21:40:09 +02:00
Ralph Metzler
a19a066b39 adjust some copyright years 2019-08-12 21:39:33 +02:00
Ralph Metzler
d3d574c13c change KBUILD_EXTMOD 2019-08-12 21:37:16 +02:00
Ralph Metzler
b86ea4524f update some headers to 2019 2019-08-05 16:04:44 +02:00
Ralph Metzler
35e0de3968 change fan control to go down faster 2019-08-05 16:01:12 +02:00
Ralph Metzler
4196458803 add IQ output rate property 2019-08-05 16:00:23 +02:00
Ralph Metzler
e7f6f67a49 change new SDR modulator to type 18 2019-07-08 10:09:18 +02:00
Ralph Metzler
4de414351c separate property function for SDR type modulators 2019-07-08 10:08:59 +02:00
Ralph Metzler
565cf88969 adapt to latest firmware 2019-07-08 10:07:24 +02:00
Ralph Metzler
f2ca278710 correct typo 2019-07-08 10:01:22 +02:00
Ralph Metzler
f57b5c8b20 change SDR modulator version to 18 2019-07-08 10:01:01 +02:00
Ralph Metzler
d350eef406 add DVB-S and Max M4 to dummy device handling 2019-07-08 10:00:11 +02:00
Ralph Metzler
e68df13ad0 remove wrong check 2019-04-12 20:13:03 +02:00
Ralph Metzler
0248e43bc7 use correct i2c num entry 2019-04-12 20:11:27 +02:00
Ralph Metzler
4783d0eab2 make default modulations a module parameter 2019-04-03 15:16:10 +02:00
Ralph Metzler
ad0d1316a7 need parantheses around expression 2019-04-03 15:15:19 +02:00
Ralph Metzler
c0af1d7e45 add recent changes to interface 2019-04-03 15:12:29 +02:00
Ralph Metzler
ab59d9b705 add debugging to MCI timeout 2019-04-03 15:12:02 +02:00
Ralph Metzler
16b15dfcc0 add serial number attribute for cards at GT link ports 2019-03-14 12:47:48 +01:00
Ralph Metzler
af0a513d12 add DVBT modulator card 2019-03-14 12:47:00 +01:00
Ralph Metzler
da39fb4c0d add acheck for PCIe link lost in case of MCI timeout 2019-03-14 12:45:30 +01:00
Ralph Metzler
1d4fa8f5a3 SDR cards start at 16 2019-03-14 12:44:46 +01:00
Ralph Metzler
2508919151 change attach handling 2019-03-14 12:44:21 +01:00
Ralph Metzler
2e3c59ecc3 reduce ts speed, some motherboard chipsets cannot handle it 2019-03-14 12:42:52 +01:00
Ralph Metzler
6e39d83c7b new version 2019-01-18 13:10:13 +01:00
Ralph Metzler
e73ae1a4c6 set base frequency
initialize mod pointers
2019-01-18 13:09:17 +01:00
Ralph Metzler
1672bdfcb8 add missing struct element 2019-01-17 19:10:10 +01:00
Ralph Metzler
0b042c1fc3 add new SDR card id 2019-01-17 19:08:07 +01:00
Ralph Metzler
67f0820a53 use default FPGA image values 2018-11-19 19:10:29 +01:00
Ralph Metzler
448b07091d initial support for SDR IQ card 2018-10-07 18:07:14 +02:00
Ralph Metzler
dc45a08c10 add more delivery systems for M4 2018-09-28 00:28:18 +02:00
Ralph Metzler
0fa1f815c5 remove debugging messages 2018-09-28 00:27:58 +02:00
Ralph Metzler
42a0b24511 use unified MCI defines 2018-09-17 15:30:21 +02:00
Ralph Metzler
0d8987862f add libdddvb 2018-09-17 13:46:27 +02:00
Ralph Metzler
010cdf1ce8 adapt to latest M4 firmware 2018-09-17 13:46:27 +02:00
Ralph Metzler
f17d1e8ee1 experimental adapter alloc type 4 for one adapter per GT link 2018-09-17 13:46:27 +02:00
Ralph Metzler
821793ec96 use octopus type for GT mini 2018-09-17 13:46:27 +02:00
Ralph Metzler
f670b28603 no input callback for M4 card 2018-09-17 13:46:27 +02:00
Ralph Metzler
03ce6c980c new release 0.9.36 2018-08-16 12:14:24 +02:00
Ralph Metzler
b52eb4bd17 add ids and structs for Octopus GT Mini 2018-08-13 15:05:43 +02:00
Ralph Metzler
bf3cad1094 override stv0910 cards to slower TS speed if not on latest firmware. 2018-08-10 08:48:01 +02:00
Ralph Metzler
06aecc3d66 new release because of bugfix 2018-07-24 14:47:15 +02:00
Damjan Marion
cf77db4fcd Remove double spinlock unlock
This is causing crash on some platforms, observed on arm64.
2018-07-24 13:31:02 +02:00
Ralph Metzler
ce99c601f8 new release version 0.9.34 2018-07-24 11:58:02 +02:00
Ralph Metzler
f570b2e071 add more frontend statistics 2018-06-29 12:48:12 +02:00
Ralph Metzler
32f46389be adjust to latest MCI upstream drivers 2018-06-23 16:52:22 +02:00
Ralph Metzler
4b68bcad91 add MaxM4 ID 2018-06-23 16:47:10 +02:00
Ralph Metzler
f7772c7a88 allow fmode 4 2018-06-23 16:44:16 +02:00
Ralph Metzler
192a4ad20d add wrappers to pacify Sparse 2018-05-28 16:41:11 +02:00
Ralph Metzler
1e15f5474d add templX for sensors on GT link cards 2018-05-25 23:05:26 +02:00
Ralph Metzler
9c1fc648dc stop frontend on sleep and input changes 2018-05-25 23:04:25 +02:00
Ralph Metzler
2e5056c4a1 add temperature attribute for MCI cards 2018-05-25 00:12:31 +02:00
Ralph Metzler
1b89edb4b1 missing parts of previous patch 2018-05-25 00:11:03 +02:00
Ralph Metzler
875a768266 properly support frontend input switching for MAX SX8 2018-05-25 00:09:50 +02:00
Ralph Metzler
09c068c74c remove wrong strength conversion 2018-05-25 00:08:27 +02:00
Ralph Metzler
c471123f17 style cleanup 2018-05-24 11:04:59 +02:00
Ralph Metzler
8dbd33fd82 - make 8PSK/QPSK default (for AUTO mode)
- when selecting modulation, also enable all lower modulations
2018-05-24 11:03:45 +02:00
Ralph Metzler
a978e9455f disable automatic code search 2018-05-18 14:47:19 +02:00
Ralph Metzler
9d8c7d4a63 - separate MCI and SX8 code
- move SX8 code to ddbridge-sx8.c
- adjust SX8 code to latest version from upstream
- add file with skeleton driver for M4
2018-05-15 23:01:39 +02:00
Ralph Metzler
81ed8fed9d change first MCI id value and use seperate ids for each type of MCI card 2018-05-14 04:30:58 +02:00
Ralph Metzler
f24a329f2f remove debug message 2018-05-14 04:27:55 +02:00
Ralph Metzler
5d7f4fcbe8 simplify link structure access 2018-05-14 04:26:51 +02:00
Ralph Metzler
5b86ac7627 limit link to 0-3 2018-05-02 15:45:00 +02:00
Ralph Metzler
c831ccfc9e add check for minimum FPGA firmware version 2018-05-02 15:39:09 +02:00
Ralph Metzler
cad161f939 enable net interface by default 2018-05-02 15:35:28 +02:00
Ralph Metzler
67257ce132 replace mdio_num with mdio_base 2018-04-11 21:20:25 +02:00
Ralph Metzler
2c3c9bdf08 comment out old debugging messages
can be removed soon
2018-04-07 20:21:58 +02:00
Ralph Metzler
53464162de detect LNBH address to prevent error message in driver 2018-04-07 20:17:38 +02:00
Ralph Metzler
1d7d8bc413 report I2C bus errors 2018-03-28 19:43:04 +02:00
Ralph Metzler
70778b818e always assume adapter_alloc=3 for octopusnet pro 2018-03-28 19:42:03 +02:00
Ralph Metzler
e0fdedbef3 adjust to newer include files and firmware 2018-03-22 19:36:08 +01:00
Ralph Metzler
3db30defab use correct MODULE_LINCESE for GPL v2 only according to notice in header 2018-03-22 19:32:17 +01:00
Ralph Metzler
5bf9edba06 add entry for M4 2018-03-22 19:30:45 +01:00
Ralph Metzler
08a161ba04 remove old code 2018-03-20 22:37:13 +01:00
Ralph Metzler
efbc108939 check on correct link instead of link 0 2018-03-20 22:36:20 +01:00
Ralph Metzler
033432cf2f increase version number 2018-03-14 15:11:52 +01:00
Ralph Metzler
948c6c4fe7 fix handling of separated MSI IRQs 2018-03-04 23:43:39 +01:00
Ralph Metzler
dedb5bd387 fixes for 3.x kernels 2018-03-02 10:46:28 +01:00
Ralph Metzler
ae9644d934 set devid entry for link 0 2018-02-12 22:43:45 +01:00
Ralph Metzler
67e36cdef0 fix output buffer check
We have to leave a 188 byte gap between writer
and consumer. So, we need at least 2*188 bytes to be able to write.
2018-01-21 11:54:09 +01:00
Ralph Metzler
4f622ec27c fixes for input/output handlers
add casts and use spin_lock_irqsave
2018-01-21 11:53:16 +01:00
Ralph Metzler
fc335de763 add demod lock state 2018-01-16 23:56:30 +01:00
Ralph Metzler
62e491c2cd increase max symbol rate 2018-01-16 23:55:53 +01:00
Ralph Metzler
402a822751 get frontend info at appropriate places 2018-01-16 23:55:21 +01:00
Ralph Metzler
e19f29dbfa fix MSI handling for older kernels 2018-01-16 23:54:51 +01:00
Ralph Metzler
caa1dbecce clean up ci attach and detach 2018-01-16 23:54:15 +01:00
Ralph Metzler
4f136e5659 change pls to official scrambling_sequence_index 2018-01-16 23:50:40 +01:00
Ralph Metzler
bda6c538ae clear cmd struct before using it 2018-01-16 23:43:02 +01:00
Ralph Metzler
2e1c7b62a9 make registration states more fine grained 2018-01-01 21:04:00 +01:00
Ralph Metzler
6001c5baf5 remove buffer size debugging message 2018-01-01 21:03:27 +01:00
Ralph Metzler
4ebb3ca938 adapt to latest MCI interface changes 2018-01-01 21:01:49 +01:00
Ralph Metzler
c5b45cdbac remove extra parameter fro DVB-T frontend 2018-01-01 21:00:11 +01:00
Ralph Metzler
dfff0f5953 add -DCONFIG_DVB_CXD2099 to fix problem with CI attach 2017-12-14 22:06:28 +01:00
Ralph Metzler
f7fbeed21e add IQ command and return struct 2017-12-12 01:22:16 +01:00
Ralph Metzler
a14cbc0eff use kernel gcd and move comment regarding calculation to correct
function
2017-12-11 23:04:14 +01:00
Ralph Metzler
2d41161cb4 reject too small symbol rates 2017-12-11 23:02:15 +01:00
Ralph Metzler
c75a7892d9 remove unnecessary casts 2017-12-11 16:41:32 +01:00
Ralph Metzler
d5bbd3a025 replace 0 with proper NULL pointer 2017-12-11 16:20:24 +01:00
Ralph Metzler
096bf9d5a9 assignment used 0 instead of link from argument 2017-12-11 16:12:23 +01:00
Ralph Metzler
3806b4d2da remove unnecessary init value 2017-12-11 16:11:20 +01:00
Ralph Metzler
04fc90e4d6 do not use dvb_attach, it is not in a seperate module 2017-12-07 19:31:44 +01:00
Ralph Metzler
50cf06cbb8 properly reference dvbs2_signal_info 2017-12-07 19:31:11 +01:00
Ralph Metzler
d398909c1d add first basic support for MCI frontends like the MAXSX8 (incomplete) 2017-12-05 19:59:23 +01:00
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