]>
Commit | Line | Data |
---|---|---|
ac19ecc6 | 1 | /* |
ac19ecc6 MCC |
2 | */ |
3 | ||
1da177e4 LT |
4 | struct tveeprom { |
5 | u32 has_radio; | |
0f97a931 | 6 | u32 has_ir; /* 0: no IR, 1: IR present, 2: unknown */ |
3ca0ea98 | 7 | u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */ |
1da177e4 LT |
8 | |
9 | u32 tuner_type; | |
10 | u32 tuner_formats; | |
f95006f8 | 11 | u32 tuner_hauppauge_model; |
1da177e4 | 12 | |
0f97a931 MCC |
13 | u32 tuner2_type; |
14 | u32 tuner2_formats; | |
f95006f8 | 15 | u32 tuner2_hauppauge_model; |
0f97a931 | 16 | |
1da177e4 LT |
17 | u32 digitizer; |
18 | u32 digitizer_formats; | |
19 | ||
20 | u32 audio_processor; | |
0f97a931 | 21 | u32 decoder_processor; |
1da177e4 LT |
22 | |
23 | u32 model; | |
24 | u32 revision; | |
25 | u32 serial_number; | |
26 | char rev_str[5]; | |
3ca0ea98 | 27 | u8 MAC_address[6]; |
1da177e4 LT |
28 | }; |
29 | ||
0f97a931 | 30 | void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee, |
1da177e4 LT |
31 | unsigned char *eeprom_data); |
32 | ||
33 | int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); |