]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/media/tveeprom.h
[PATCH] V4L: tveeprom MAC address parsing/cleanup
[linux-2.6-omap-h63xx.git] / include / media / tveeprom.h
1 /*
2  */
3
4 struct tveeprom {
5         u32 has_radio;
6         u32 has_ir;     /* 0: no IR, 1: IR present, 2: unknown */
7         u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
8
9         u32 tuner_type;
10         u32 tuner_formats;
11
12         u32 tuner2_type;
13         u32 tuner2_formats;
14
15         u32 digitizer;
16         u32 digitizer_formats;
17
18         u32 audio_processor;
19         u32 decoder_processor;
20
21         u32 model;
22         u32 revision;
23         u32 serial_number;
24         char rev_str[5];
25         u8 MAC_address[6];
26 };
27
28 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
29                                unsigned char *eeprom_data);
30
31 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);