]> git.vomp.tv Git - makedevenv.git/blob - kernel/patches-2.4.31/mvp-version.patch
Initial import
[makedevenv.git] / kernel / patches-2.4.31 / mvp-version.patch
1 diff -Narup -x .DS_Store linux-2.4.31/arch/ppc/boot/simple/head.S linux-2.4.31-mod/arch/ppc/boot/simple/head.S
2 --- linux-2.4.31/arch/ppc/boot/simple/head.S    2003-11-28 10:26:19.000000000 -0800
3 +++ linux-2.4.31-mod/arch/ppc/boot/simple/head.S        2005-09-08 11:09:48.000000000 -0700
4 @@ -45,6 +45,25 @@ start:
5         .long   bootrom_cmdline         # address of *bootrom_cmdline
6  #endif
7  
8 +#ifdef CONFIG_HCW_MVP
9 +       /* This is a versioning structure for use with the Hauppauge MediaMVP
10 +        * it is provided with no warranty whatsoever. Use at your own risk.
11 +        */
12 +#include <dongle_version.h>
13 +mvp_start:
14 +       .long   0x48435720              # structure magic - "HCW MVP" (null terminated)
15 +       .long   0x4D565000
16 +       .long   (mvp_end - mvp_start)   # size
17 +       .long   0x00010000                              # struct version (1.0)
18 +       .long   HCW_COMPATIBLE_VERSION  # compatible version
19 +       .long   HCW_BUILD_VERSION               # build version
20 +       .long   0                                               # reserved[4]
21 +       .long   0
22 +       .long   0
23 +       .long   0
24 +mvp_end:
25 +#endif
26 +
27  start_:
28  #ifdef CONFIG_FORCE
29         /* We have some really bad firmware.  We must disable the L1
30 diff -Narup -x .DS_Store linux-2.4.31/arch/ppc/config.in linux-2.4.31-mod/arch/ppc/config.in
31 --- linux-2.4.31/arch/ppc/config.in     2005-09-08 11:04:56.000000000 -0700
32 +++ linux-2.4.31-mod/arch/ppc/config.in 2005-09-08 11:09:01.000000000 -0700
33 @@ -81,6 +81,10 @@ if [ "$CONFIG_40x" = "y" ]; then
34     if [ "$CONFIG_EP405" = "y" ]; then
35        bool 'EP405PC Support' CONFIG_EP405PC
36     fi
37 +   
38 +   if [ "$CONFIG_REDWOOD_6" = "y" ]; then
39 +      bool 'Hauppauge MediaMVP support' CONFIG_HCW_MVP
40 +   fi
41  fi
42  
43  if [ "$CONFIG_44x" = "y" ]; then