public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Gerd Knorr <kraxel@bytesex.org>
Cc: Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] v4l: documentation update
Date: Mon, 5 Apr 2004 17:30:53 +0400	[thread overview]
Message-ID: <20040405173053.5e47c44f.vsu@altlinux.ru> (raw)
In-Reply-To: <20040405124103.GA30293@bytesex.org>

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

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
 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-04-05 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 12:41 [patch] v4l: documentation update Gerd Knorr
2004-04-05 13:30 ` Sergey Vlasov [this message]
2004-04-05 21:44 ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2005-03-08 10:45 Gerd Knorr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040405173053.5e47c44f.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox