diff options
author | Sascha Sommer <saschasommer@freenet.de> | 2007-11-04 06:06:48 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:56 -0500 |
commit | fad7b958e753e18ff443786360f7846da50a3085 (patch) | |
tree | 7bb5af47b1c5b43269826983a16d72dbf959ecea /drivers/media/video/em28xx/em28xx.h | |
parent | f1f32849d65ab1eacfedbabb624876ac06c1af9f (diff) |
V4L/DVB (6545): em28xx: autodetect Cinergy 200 USB and VGear PocketTV
Adds autodetection support for the Cinergy200 USB and the VGear PocketTV.
Whenever a usb device with generic empia em2800 usb ids is detected the device
gets scanned for connected i2c devices. If the device list matches an em2800
device in the device list the model id gets changed accordingly.
Signed-off-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 70fddd45d1f7..c2531da2e618 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -260,6 +260,7 @@ struct em28xx { | |||
260 | int type; | 260 | int type; |
261 | 261 | ||
262 | unsigned long hash; /* eeprom hash - for boards with generic ID */ | 262 | unsigned long hash; /* eeprom hash - for boards with generic ID */ |
263 | unsigned long i2c_hash; /* i2c devicelist hash - for boards with generic ID */ | ||
263 | 264 | ||
264 | /* states */ | 265 | /* states */ |
265 | enum em28xx_dev_state state; | 266 | enum em28xx_dev_state state; |
@@ -296,6 +297,7 @@ struct em28xx { | |||
296 | /* Provided by em28xx-i2c.c */ | 297 | /* Provided by em28xx-i2c.c */ |
297 | 298 | ||
298 | void em28xx_i2c_call_clients(struct em28xx *dev, unsigned int cmd, void *arg); | 299 | void em28xx_i2c_call_clients(struct em28xx *dev, unsigned int cmd, void *arg); |
300 | void em28xx_do_i2c_scan(struct em28xx *dev); | ||
299 | int em28xx_i2c_register(struct em28xx *dev); | 301 | int em28xx_i2c_register(struct em28xx *dev); |
300 | int em28xx_i2c_unregister(struct em28xx *dev); | 302 | int em28xx_i2c_unregister(struct em28xx *dev); |
301 | 303 | ||