lkml.org 
[lkml]   [2004]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch] v4l: documentation update
On Mon, 5 Apr 2004 14:41:03 +0200 Gerd Knorr wrote:

> This patch updates the documentation for the v4l drivers.
[skip]

The update to linux/Documentation/video4linux/CARDLIST.saa7134 is
buggy - I have just noticed this problem when building your drivers.
Here is the fix for your scripts which generate this file:

--- video4linux/scripts/saa7134.pl.saa7134-list-fix 2004-03-05 17:04:57 +0300
+++ video4linux/scripts/saa7134.pl 2004-04-04 23:00:18 +0400
@@ -21,11 +21,14 @@
my %data;

while (<>) {
+ 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++;
};
next unless defined($id);

--- video4linux/scripts/cardlist.saa7134-list-fix 2004-02-22 04:59:36 +0300
+++ video4linux/scripts/cardlist 2004-04-04 22:59:36 +0400
@@ -10,6 +10,6 @@
| 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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.021 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site