Commit 83f3c715 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

V4L/DVB: ngene: Driver compiles now

Remove LNBH21 routines, disable code which broke compilation.
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent dae52d00
...@@ -76,6 +76,10 @@ comment "Supported Mantis Adapters" ...@@ -76,6 +76,10 @@ comment "Supported Mantis Adapters"
depends on DVB_CORE && PCI && I2C depends on DVB_CORE && PCI && I2C
source "drivers/media/dvb/mantis/Kconfig" source "drivers/media/dvb/mantis/Kconfig"
comment "Supported nGene Adapters"
depends on DVB_CORE && PCI && I2C
source "drivers/media/dvb/ngene/Kconfig"
comment "Supported DVB Frontends" comment "Supported DVB Frontends"
depends on DVB_CORE depends on DVB_CORE
source "drivers/media/dvb/frontends/Kconfig" source "drivers/media/dvb/frontends/Kconfig"
......
...@@ -14,6 +14,7 @@ obj-y := dvb-core/ \ ...@@ -14,6 +14,7 @@ obj-y := dvb-core/ \
siano/ \ siano/ \
dm1105/ \ dm1105/ \
pt1/ \ pt1/ \
mantis/ mantis/ \
ngene/
obj-$(CONFIG_DVB_FIREDTV) += firewire/ obj-$(CONFIG_DVB_FIREDTV) += firewire/
config DVB_NGENE
tristate "Micronas nGene support"
depends on DVB_CORE && PCI && I2C
select DVB_LNBP21 if !DVB_FE_CUSTOMISE
select DVB_STV6110x if !DVB_FE_CUSTOMISE
select DVB_STV090x if !DVB_FE_CUSTOMISE
---help---
Support for Micronas PCI express cards with nGene bridge.
#
# Makefile for the nGene device driver
#
ngene-objs := ngene-core.o
obj-$(CONFIG_DVB_NGENE) += ngene.o
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends/
This diff is collapsed.
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#define _NGENE_H_ #define _NGENE_H_
#define ONE_ADAPTER #define ONE_ADAPTER
#define NGENE_COMMAND_API
/*#define NGENE_V4L*/
#include <linux/types.h> #include <linux/types.h>
#include <linux/sched.h> #include <linux/sched.h>
...@@ -34,35 +32,14 @@ ...@@ -34,35 +32,14 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/scatterlist.h> #include <asm/scatterlist.h>
#include <sound/driver.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <linux/dvb/frontend.h> #include <linux/dvb/frontend.h>
#include <linux/dvb/ca.h>
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
#include "dmxdev.h" #include "dmxdev.h"
#include "dvbdev.h" #include "dvbdev.h"
#include "dvb_demux.h" #include "dvb_demux.h"
#include "dvb_frontend.h" #include "dvb_frontend.h"
#include "dvb_ringbuffer.h" #include "dvb_ringbuffer.h"
#include "drxd.h"
#include "drxh.h"
#include "xc3028.h"
#include "stb0899.h"
#include "stv0900.h"
#include "mt2060.h"
#ifdef NGENE_V4L
#include <media/v4l2-dev.h>
#include <media/videobuf-core.h>
#include <linux/videodev.h>
#endif
#define NGENE_VID 0x18c3 #define NGENE_VID 0x18c3
#define NGENE_PID 0x0720 #define NGENE_PID 0x0720
...@@ -675,9 +652,6 @@ struct ngene_channel { ...@@ -675,9 +652,6 @@ struct ngene_channel {
#ifndef ONE_ADAPTER #ifndef ONE_ADAPTER
struct dvb_adapter dvb_adapter; struct dvb_adapter dvb_adapter;
#endif #endif
struct dvb_device *command_dev;
struct dvb_device *audio_dev;
struct dvb_device *video_dev;
struct tasklet_struct demux_tasklet; struct tasklet_struct demux_tasklet;
struct SBufferHeader *nextBuffer; struct SBufferHeader *nextBuffer;
...@@ -715,7 +689,6 @@ struct ngene_channel { ...@@ -715,7 +689,6 @@ struct ngene_channel {
struct mychip *mychip; struct mychip *mychip;
struct snd_card *soundcard; struct snd_card *soundcard;
u8 *evenbuffer; u8 *evenbuffer;
u8 *soundbuffer;
u8 dma_on; u8 dma_on;
int soundstreamon; int soundstreamon;
int audiomute; int audiomute;
...@@ -887,8 +860,6 @@ struct ngene_info { ...@@ -887,8 +860,6 @@ struct ngene_info {
u8 lnb[4]; u8 lnb[4];
int i2c_access; int i2c_access;
u8 ntsc; u8 ntsc;
u8 exp;
u8 exp_init;
u8 tsf[4]; u8 tsf[4];
u8 i2s[4]; u8 i2s[4];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment