diff options
author | Holger Waechtler <devnull@localhost> | 2003-02-03 08:23:35 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-02-03 08:23:35 +0000 |
commit | a862459628a05dd5a3a454c0e7fa2e6dd5384035 (patch) | |
tree | c670fb852bef6460d84c546e83eda71baac978ca /linux/drivers/media/dvb/ttpci-budget/budget.h | |
parent | b512dccd9c99886629b04291b4b391c5c6639a45 (diff) | |
download | mediapointer-dvb-s2-a862459628a05dd5a3a454c0e7fa2e6dd5384035.tar.gz mediapointer-dvb-s2-a862459628a05dd5a3a454c0e7fa2e6dd5384035.tar.bz2 |
new fidbirq() by <emard@softhome.net> w/ heuristic recovery code for
lost interrupts. Let's see how it works...
CPU and PCI can be heavy loaded and not properly configured,
VSYNC trigger timing can be inaccurate. Two DVB cards can
share the same interrupt, sometimes even whole interrupt can be lost.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget/budget.h')
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget.h b/linux/drivers/media/dvb/ttpci-budget/budget.h index 7df52e804..0a0a5b16b 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget.h +++ b/linux/drivers/media/dvb/ttpci-budget/budget.h @@ -46,8 +46,8 @@ struct budget_s { int fe_synced; struct semaphore pid_mutex; - int tsf; - u32 ttbp; + u8 tsf; + u16 ttbp; int feeding; int registered; @@ -68,6 +68,10 @@ static struct saa7146_pci_extension_data x_var = { \ #define TS_HEIGHT (1024/4) #define TS_BUFLEN (TS_WIDTH*TS_HEIGHT) +#define TS_PACKETS 1 +#define TS_QUANTUM (TS_PACKETS*TS_SIZE) +#define TS_MAX_PACKETS (TS_BUFLEN/TS_QUANTUM) + #define BUDGET_TT 0 #define BUDGET_TT_HW_DISEQC 1 #define BUDGET_KNC1 2 |