summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-09-08 20:16:27 -0500
committerMike Isely <isely@pobox.com>2007-09-08 20:16:27 -0500
commit3fc546fb246940100e175dee808bbbd61fa01b7d (patch)
tree8de426444979fa07a51c0708983dd4602b6cb908 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
parenta25765700945a8212801a2056882447095c31812 (diff)
downloadmediapointer-dvb-s2-3fc546fb246940100e175dee808bbbd61fa01b7d.tar.gz
mediapointer-dvb-s2-3fc546fb246940100e175dee808bbbd61fa01b7d.tar.bz2
pvrusb2: Implement programmatic means to extract prom contents
From: Mike Isely <isely@pobox.com> The pvrusb2 driver already has a method for extracting the FX2's program memory back out to a user application; this ability is used to facilitate manual firmware extraction as per the procedure documented on the pvrusb2 web site. This change follows that pattern and implements a corresponding method to grab the binary contents of the PVR USB2 prom (which for PVR USB2 devices can contain information in addition to the usual Hauppauge metadata). Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index e8ee1bf73..d8ac8e783 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -254,6 +254,7 @@ struct pvr2_hdw {
// CPU firmware info (used to help find / save firmware data)
char *fw_buffer;
unsigned int fw_size;
+ int fw_cpu_flag; /* True if we are dealing with the CPU */
// Which subsystem pieces have been enabled / configured
unsigned long subsys_enabled_mask;