aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/m920x.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2007-05-08 12:03:55 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:23:38 -0300
commit47f8df0fc0a5bd2e7e46ca438715ffa290051f72 (patch)
tree9c562ae684d36abe4839913763b88e483c4dcd4d /drivers/media/dvb/dvb-usb/m920x.h
parentV4L/DVB (5685): Cx88: add support for ADS Tech Instant Video PCI (diff)
downloadlinux-dev-47f8df0fc0a5bd2e7e46ca438715ffa290051f72.tar.xz
linux-dev-47f8df0fc0a5bd2e7e46ca438715ffa290051f72.zip
V4L/DVB (5692): M920x: attempt to fix hw pid filters on second endpoint
Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/m920x.h')
-rw-r--r--drivers/media/dvb/dvb-usb/m920x.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/m920x.h b/drivers/media/dvb/dvb-usb/m920x.h
index 2c8942d04222..37532890accd 100644
--- a/drivers/media/dvb/dvb-usb/m920x.h
+++ b/drivers/media/dvb/dvb-usb/m920x.h
@@ -18,6 +18,7 @@
#define M9206_FW 0x30
#define M9206_MAX_FILTERS 8
+#define M9206_MAX_ADAPTERS 2
/*
sequences found in logs:
@@ -60,8 +61,8 @@ response to a write, is unknown.
*/
struct m920x_state {
- u16 filters[M9206_MAX_FILTERS];
- int filtering_enabled;
+ u16 filters[M9206_MAX_ADAPTERS][M9206_MAX_FILTERS];
+ int filtering_enabled[M9206_MAX_ADAPTERS];
int rep_count;
};