summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-04-05 16:57:07 +0000
committerGerd Knorr <devnull@localhost>2004-04-05 16:57:07 +0000
commitf6e629e507a2c37232181f9f5d029422e65b1b20 (patch)
treea6d7c60c824c9dc221d34dc4f0e37fcce3c0a6bc /v4l
parent68ecec9ea3f3e0827fec88258e323cdc611e2308 (diff)
downloadmediapointer-dvb-s2-f6e629e507a2c37232181f9f5d029422e65b1b20.tar.gz
mediapointer-dvb-s2-f6e629e507a2c37232181f9f5d029422e65b1b20.tar.bz2
- added tda9887 debug code.
- scripts/saa7134.pl fix.
Diffstat (limited to 'v4l')
-rw-r--r--v4l/scripts/cardlist2
-rw-r--r--v4l/scripts/saa7134.pl7
-rw-r--r--v4l/scripts/update1
3 files changed, 8 insertions, 2 deletions
diff --git a/v4l/scripts/cardlist b/v4l/scripts/cardlist
index 57b903dcb..ebfe5aec3 100644
--- a/v4l/scripts/cardlist
+++ b/v4l/scripts/cardlist
@@ -10,6 +10,6 @@ cat tuner.c \
| perl -ne '/"([^"]+)"/; printf("tuner=%d - %s\n",$i++,$1)' \
> doc/CARDLIST.tuner
-scripts/saa7134.pl saa7134-cards.c \
+scripts/saa7134.pl saa7134.h saa7134-cards.c \
> doc/CARDLIST.saa7134
diff --git a/v4l/scripts/saa7134.pl b/v4l/scripts/saa7134.pl
index 0be247c80..69648339a 100644
--- a/v4l/scripts/saa7134.pl
+++ b/v4l/scripts/saa7134.pl
@@ -21,11 +21,16 @@ my ($id,$subvendor,$subdevice);
my %data;
while (<>) {
+ # defines in header file
+ if (/#define\s+(SAA7134_BOARD_\w+)\s+(\d+)/) {
+ $data{$1}->{nr} = $2;
+ next;
+ }
# saa7134_boards
if (/\[(SAA7134_BOARD_\w+)\]/) {
$id = $1;
$data{$id}->{id} = $id;
- $data{$id}->{nr} = $nr++;
+# $data{$id}->{nr} = $nr++;
};
next unless defined($id);
diff --git a/v4l/scripts/update b/v4l/scripts/update
index 073d7a654..9f10aa772 100644
--- a/v4l/scripts/update
+++ b/v4l/scripts/update
@@ -51,6 +51,7 @@ xinsmod video-buf debug=2
xinsmod btcx-risc debug=0
xinsmod ir-common debug=0 repeat=0
xinsmod tuner debug=0
+xinsmod tda9887 debug=2
xinsmod msp3400 debug=0
# bttv