Commit 21093ee5 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: add tveeprom module.

Add a module which can parse config informations out of TV card eeproms.  Will
be used by bttv, cx88 and ivtv.
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b8dbdda4
......@@ -47,5 +47,8 @@ config VIDEO_BTCX
config VIDEO_IR
tristate
config VIDEO_TVEEPROM
tristate
endmenu
......@@ -48,6 +48,7 @@ obj-$(CONFIG_VIDEO_TUNER) += tuner.o tda9887.o
obj-$(CONFIG_VIDEO_BUF) += video-buf.o
obj-$(CONFIG_VIDEO_BUF_DVB) += video-buf-dvb.o
obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
......
This diff is collapsed.
struct tveeprom {
u32 has_radio;
u32 tuner_type;
u32 tuner_formats;
u32 digitizer;
u32 digitizer_formats;
u32 audio_processor;
/* a_p_fmts? */
u32 model;
u32 revision;
u32 serial_number;
char rev_str[5];
};
void tveeprom_hauppauge_analog(struct tveeprom *tvee,
unsigned char *eeprom_data);
int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
int tveeprom_dump(unsigned char *eedata, int len);
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