summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDavor Emard <devnull@localhost>2003-03-20 23:52:38 +0000
committerDavor Emard <devnull@localhost>2003-03-20 23:52:38 +0000
commit5e064103ecee4a255b1aeccbb42f7e4bac1a0a1c (patch)
tree9709ecea05a62ce5adceedbb29e83153a2449b95 /linux
parentdab9ea33014f096f57a109767f77a48c544bcbb4 (diff)
downloadmediapointer-dvb-s2-5e064103ecee4a255b1aeccbb42f7e4bac1a0a1c.tar.gz
mediapointer-dvb-s2-5e064103ecee4a255b1aeccbb42f7e4bac1a0a1c.tar.bz2
Use #include from ttpci folder which is now common
for ttpci and budgets
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-patch.c40
1 files changed, 1 insertions, 39 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-patch.c b/linux/drivers/media/dvb/ttpci/budget-patch.c
index 7e1cb6d73..d2f1d44f5 100644
--- a/linux/drivers/media/dvb/ttpci/budget-patch.c
+++ b/linux/drivers/media/dvb/ttpci/budget-patch.c
@@ -31,6 +31,7 @@
*/
#include "budget.h"
+#include "av7110.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
#define KBUILD_MODNAME budget_patch
#endif
@@ -49,45 +50,6 @@ struct pci_device_id pci_tbl[] = {
}
};
-
-#define COMMAND (DPRAM_BASE + 0x0FC)
-#define DPRAM_BASE 0x4000
-#define DEBINOSWAP 0x000e0000
-
-
-typedef enum {
- AudioDAC,
- CabADAC,
- ON22K,
- OFF22K,
- MainSwitch,
- ADSwitch,
- SendDiSEqC,
- SetRegister
-} AUDCOM;
-
-
-typedef enum {
- COMTYPE_NOCOM,
- COMTYPE_PIDFILTER,
- COMTYPE_MPEGDECODER,
- COMTYPE_OSD,
- COMTYPE_BMP,
- COMTYPE_ENCODER,
- COMTYPE_AUDIODAC,
- COMTYPE_REQUEST,
- COMTYPE_SYSTEM,
- COMTYPE_REC_PLAY,
- COMTYPE_COMMON_IF,
- COMTYPE_PID_FILTER,
- COMTYPE_PES,
- COMTYPE_TS,
- COMTYPE_VIDEO,
- COMTYPE_AUDIO,
- COMTYPE_CI_LL,
-} COMTYPE;
-
-
static
int wdebi(struct budget_patch *budget, u32 config, int addr, u32 val, int count)
{