summaryrefslogtreecommitdiff
path: root/v4l/scripts/cardlist
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts/cardlist')
-rw-r--r--v4l/scripts/cardlist15
1 files changed, 15 insertions, 0 deletions
diff --git a/v4l/scripts/cardlist b/v4l/scripts/cardlist
new file mode 100644
index 000000000..57b903dcb
--- /dev/null
+++ b/v4l/scripts/cardlist
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+cat bttv-cards.c \
+ | grep "\.name.*=" \
+ | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \
+ > doc/CARDLIST.bttv
+
+cat tuner.c \
+ | grep "{ \"" \
+ | perl -ne '/"([^"]+)"/; printf("tuner=%d - %s\n",$i++,$1)' \
+ > doc/CARDLIST.tuner
+
+scripts/saa7134.pl saa7134-cards.c \
+ > doc/CARDLIST.saa7134
+