diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-22 23:23:32 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-22 23:23:32 +0000 |
commit | f7880aeea0e44a60f7e61ccd065eb6950609ab46 (patch) | |
tree | a742d29d55db6ac7fc9b18773c54cf5834535db0 /v4l/scripts/cardlist | |
parent | 6000b88a1774bc27fc7097eee0b9d0d72c016693 (diff) | |
download | mediapointer-dvb-s2-f7880aeea0e44a60f7e61ccd065eb6950609ab46.tar.gz mediapointer-dvb-s2-f7880aeea0e44a60f7e61ccd065eb6950609ab46.tar.bz2 |
* scripts/cardlist:
- Script updated to strip tail spaces
- Correclty generates a tuner number for tea chip
* doc/CARDLIST.cx88, doc/CARDLIST.saa7134, doc/CARDLIST.tuner:
- Card definitions updated.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l/scripts/cardlist')
-rw-r--r-- | v4l/scripts/cardlist | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/v4l/scripts/cardlist b/v4l/scripts/cardlist index 634ffc4dc..8e13b75a1 100644 --- a/v4l/scripts/cardlist +++ b/v4l/scripts/cardlist @@ -1,22 +1,25 @@ #!/bin/sh - cat bttv-cards.c \ | grep "\.name.*=" \ | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \ - > doc/CARDLIST.bttv + | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.bttv 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 + | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.cx88 + +TEA="`grep TEA5767_TUNER_NAME tuner.h|cut -d " " -f 3-`" cat tuner-simple.c \ + | sed s/TEA5767_TUNER_NAME/"$TEA"/ \ | grep "{ \"" \ | perl -ne '/"([^"]+)"/; printf("tuner=%d - %s\n",$i++,$1)' \ - > doc/CARDLIST.tuner + | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.tuner scripts/saa7134.pl saa7134.h saa7134-cards.c \ - > doc/CARDLIST.saa7134 + | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.saa7134 + |