aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-01-28 15:38:55 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:35:12 -0200
commit567d7115b9ce8145c166e3368bf31fe613451f77 (patch)
tree7d5ce8468578501aefc54495df57abf742e6b7dd /drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
parentedae96bd72155b88f8682c830c63338cd699d35c (diff)
V4L/DVB (5172): Pvrusb2: Control protocol cleanup
Several special-case FX2 commands were being issued through pvr2_write_u16() and pvr2_write_8(), but there's really nothing special case about them. These date from a very early time in the driver development. This patch removes these functions and replaces their use with calls to pvr2_send_request. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
index c6aa9751a0d..ffbc6d09610 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h
@@ -29,6 +29,7 @@
#define FX2CMD_REG_WRITE 0x04
#define FX2CMD_REG_READ 0x05
+#define FX2CMD_MEMSEL 0x06
#define FX2CMD_I2C_WRITE 0x08
#define FX2CMD_I2C_READ 0x09
@@ -38,6 +39,8 @@
#define FX2CMD_STREAMING_ON 0x36
#define FX2CMD_STREAMING_OFF 0x37
+#define FX2CMD_FWPOST1 0x52
+
#define FX2CMD_POWER_OFF 0xdc
#define FX2CMD_POWER_ON 0xde