diff options
author | Mike Isely <isely@pobox.com> | 2007-01-28 12:38:55 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2007-01-28 12:38:55 -0600 |
commit | e47971a164355e16e5be9d82f5977b5525d2fe57 (patch) | |
tree | e262c2218cb06ee73d7bcbcc1d105b8e502363f8 /linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | |
parent | a2f1e676e65632ce59bbaf4de91370af3ad4cc48 (diff) | |
download | mediapointer-dvb-s2-e47971a164355e16e5be9d82f5977b5525d2fe57.tar.gz mediapointer-dvb-s2-e47971a164355e16e5be9d82f5977b5525d2fe57.tar.bz2 |
pvrusb2: Control protocol cleanup
From: Mike Isely <isely@pobox.com>
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>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h b/linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h index c6aa9751a..ffbc6d096 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h +++ b/linux/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 |