summaryrefslogtreecommitdiff
path: root/linux/include/media/tveeprom.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-18 07:25:08 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-18 07:25:08 +0000
commit8ad5767c565d70f73a0cb6c65a9144b7196f9616 (patch)
tree0b726a3bdefe12c79384780faa109b7f25e3c3d6 /linux/include/media/tveeprom.h
parent2723671270469dcf207cdcc6a7b6d74223ef64cd (diff)
downloadmediapointer-dvb-s2-8ad5767c565d70f73a0cb6c65a9144b7196f9616.tar.gz
mediapointer-dvb-s2-8ad5767c565d70f73a0cb6c65a9144b7196f9616.tar.bz2
tveeprom MAC address parsing/cleanup
From: Steven Toth <stoth@hauppauge.com> - 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>
Diffstat (limited to 'linux/include/media/tveeprom.h')
-rw-r--r--linux/include/media/tveeprom.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/include/media/tveeprom.h b/linux/include/media/tveeprom.h
index 334e64216..4722f3d3f 100644
--- a/linux/include/media/tveeprom.h
+++ b/linux/include/media/tveeprom.h
@@ -1,10 +1,11 @@
/*
- * $Id: tveeprom.h,v 1.4 2005/08/30 05:11:41 mchehab Exp $
+ * $Id: tveeprom.h,v 1.5 2005/11/18 07:25:08 mchehab Exp $
*/
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;
@@ -22,6 +23,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,