summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-04 01:20:59 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 22:01:55 +0100
commit03910cc39035d27f4c85c8ad2a236cc5c9456127 (patch)
tree04c852f7f52e9568cbc68cd6c489cc4d003958a9 /drivers/media/video/em28xx/em28xx.h
parentV4L/DVB (6535): Fix: Adds the generic PCI IDs for em28xx (diff)
downloadlinux-03910cc39035d27f4c85c8ad2a236cc5c9456127.tar.xz
linux-03910cc39035d27f4c85c8ad2a236cc5c9456127.zip
V4L/DVB (6536): Add a hint for boards without unique USB ID
This patch adds a function to allow trying to detect boards that shares the generic IDs. The current detection method is based at eeprom checksum. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index d8fcc9e17ac0..e98dac7fc05b 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -257,6 +257,8 @@ struct em28xx {
int interlaced; /* 1=interlace fileds, 0=just top fileds */
int type;
+ unsigned long hash; /* eeprom hash - for boards with generic ID */
+
/* states */
enum em28xx_dev_state state;
enum em28xx_stream_state stream;