diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-05-19 12:00:12 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-05-19 12:00:12 -0300 |
commit | f768c8f3a921624366296efddaecf6f962ecdbe8 (patch) | |
tree | ab058b2f535c1c746ccd3faf753e28fdb8e808b9 /v4l/scripts | |
parent | 7b2b6e9be7a9c4c8ba356cfed999b6283579c7ae (diff) | |
parent | 8bf2cc99d48eabe83872a51ceb427ea64cff7207 (diff) | |
download | mediapointer-dvb-s2-f768c8f3a921624366296efddaecf6f962ecdbe8.tar.gz mediapointer-dvb-s2-f768c8f3a921624366296efddaecf6f962ecdbe8.tar.bz2 |
merge: http://linuxtv.org/hg/~quincy/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-x | v4l/scripts/gentree.pl | 24 | ||||
-rwxr-xr-x | v4l/scripts/insmod.sh | 4 | ||||
-rwxr-xr-x | v4l/scripts/make_kconfig.pl | 7 |
3 files changed, 29 insertions, 6 deletions
diff --git a/v4l/scripts/gentree.pl b/v4l/scripts/gentree.pl index de91722a7..e58d410c2 100755 --- a/v4l/scripts/gentree.pl +++ b/v4l/scripts/gentree.pl @@ -79,6 +79,14 @@ sub filter_source ($$) { $level++; next; } + if ($line =~ /^#ifdef _COMPAT_H/) { + chomp($line); + $state{$level} = "if"; + $if{$level} = 0; + print STDERR "/* BP #if MM_KERNEL state=$state{$level} if=$if{$level} level=$level ($line) */\n" if $DEBUG; + $level++; + next; + } if ($line =~ m|^\s*\#if\s+0\s*\/[\*]\s*[Kk][Ee].[Pp]\s*[\*]\/(.*)|) { if ($1 eq ";") { print OUT "#if 0\n"; @@ -164,6 +172,14 @@ sub filter_source ($$) { $level++; next; } + if ($line =~ /^#ifndef.\s*I2C_DF_DUMMY/) { + chomp($line); + $state{$level} = "if"; + $if{$level} = 1; + print STDERR "/* BP #if 1 state=$state{$level} if=$if{$level} level=$level ($line) */\n" if $DEBUG; + $level++; + next; + } if ($line =~ /^#ifndef.\s*I2C_PEC/) { chomp($line); $state{$level} = "if"; @@ -172,6 +188,14 @@ sub filter_source ($$) { $level++; next; } + if ($line =~ /^#ifdef.\s*I2C_PEC/) { + chomp($line); + $state{$level} = "if"; + $if{$level} = 1; + print STDERR "/* BP #if 1 state=$state{$level} if=$if{$level} level=$level ($line) */\n" if $DEBUG; + $level++; + next; + } if ($line =~ /^#if.*I2C_CLASS_TV_DIGITAL/) { chomp($line); $state{$level} = "if"; diff --git a/v4l/scripts/insmod.sh b/v4l/scripts/insmod.sh index 6efab6a82..91b4558e3 100755 --- a/v4l/scripts/insmod.sh +++ b/v4l/scripts/insmod.sh @@ -97,6 +97,7 @@ case "$1" in insmod ./cinergyT2.ko insmod ./dvb-usb.ko + insmod ./dvb-usb-gp8psk.ko insmod ./dvb-usb-vp7045.ko insmod ./dvb-usb-dtt200u.ko @@ -221,6 +222,7 @@ case "$1" in insmod ./cinergyT2.ko insmod ./dvb-usb.ko debug=0x33 + insmod ./dvb-usb-gp8psk.ko debug=0x03 insmod ./dvb-usb-vp7045.ko debug=0x03 insmod ./dvb-usb-dtt200u.ko debug=0x03 @@ -268,7 +270,7 @@ case "$1" in budget-av budget-ci budget-core ttusb_dec dvb-ttusb-budget \ ttpci-eeprom dvb-usb-nova-t-usb2.ko dvb-usb-a800.ko \ dvb-usb-umt-010.ko dvb-usb-dibusb-mc.ko dvb-usb-dibusb-mb.ko\ - dvb-usb-dibusb-common.ko dvb-usb-vp7045.ko \ + dvb-usb-dibusb-common.ko dvb-usb-gp8psk.ko dvb-usb-vp7045.ko \ dvb-usb-dtt200u.ko dvb-usb-digitv.ko dvb-usb-cxusb.ko \ dvb-usb.ko # video4linux cards diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl index aebf2a950..04430ccf2 100755 --- a/v4l/scripts/make_kconfig.pl +++ b/v4l/scripts/make_kconfig.pl @@ -172,13 +172,10 @@ close OUT; if (($force_kconfig eq 1) || !open IN,".config") { open OUT,">.config"; - while ( my ($key, $value) = each(%depend) ) { - printf "CONFIG_%s=m\n",$key; - printf OUT "CONFIG_%s=m\n",$key; - } while ( my ($key,$value) = each(%tristate) ) { - if ($key eq "DVB_AV7110_FIRMWARE") { + if ( ($key eq "DVB_AV7110_FIRMWARE") || + ($key eq "DVB_CINERGYT2_TUNING") ) { printf OUT "CONFIG_%s=n\n",$key; } else { if ($value eq "tristate") { |