diff options
Diffstat (limited to 'v4l/scripts/cardlist')
-rw-r--r-- | v4l/scripts/cardlist | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/v4l/scripts/cardlist b/v4l/scripts/cardlist index ebfe5aec3..634ffc4dc 100644 --- a/v4l/scripts/cardlist +++ b/v4l/scripts/cardlist @@ -5,7 +5,14 @@ cat bttv-cards.c \ | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \ > doc/CARDLIST.bttv -cat tuner.c \ +LINE="`grep -n "gdi_tuner\[\]" cx88-cards.c|cut -f1 -d:`" + +head -$LINE cx88-cards.c \ + | grep "\.name.*=" \ + | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \ + > doc/CARDLIST.cx88 + +cat tuner-simple.c \ | grep "{ \"" \ | perl -ne '/"([^"]+)"/; printf("tuner=%d - %s\n",$i++,$1)' \ > doc/CARDLIST.tuner |