summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2005-12-01 00:51:27 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-01 15:48:57 -0800
commit3ca0ea980697d3b3c3d5c13ba7e525ed6c434756 (patch)
treedb5d423db74e88ce836588bb77ab8ae77649b5f8 /include/media
parent759324c3c4b8d63203d7ea41b56553330bc0df06 (diff)
downloadblackbird-op-linux-3ca0ea980697d3b3c3d5c13ba7e525ed6c434756.tar.gz
blackbird-op-linux-3ca0ea980697d3b3c3d5c13ba7e525ed6c434756.zip
[PATCH] V4L: tveeprom MAC address parsing/cleanup
- Added a mac address field to the tveeprom structure. - allow callers to query the MAC address. - removed some redundant eeprom parsing code in cx88-cards.c (specific to Hauppauge DVB products) Instead, placed calls directly to the single eeprom parsing function in tveeprom.c Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/tveeprom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h
index e2035c7da094..97930081699f 100644
--- a/include/media/tveeprom.h
+++ b/include/media/tveeprom.h
@@ -4,6 +4,7 @@
struct tveeprom {
u32 has_radio;
u32 has_ir; /* 0: no IR, 1: IR present, 2: unknown */
+ u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
u32 tuner_type;
u32 tuner_formats;
@@ -21,6 +22,7 @@ struct tveeprom {
u32 revision;
u32 serial_number;
char rev_str[5];
+ u8 MAC_address[6];
};
void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
OpenPOWER on IntegriCloud