mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Buganini <buganini@gmail.com>
To: Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [stk-webcam] change constants to work better on FreeBSD
Date: Sat, 14 Nov 2009 17:09:53 +0800	[thread overview]
Message-ID: <e5b1e8d40911140109k78721b1er7b167d05d6f2e26e@mail.gmail.com> (raw)

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

Suggested by hselasky@FreeBSD.org, tested by me on FreeBSD.
With original value it hangs a lot.

I dont fully understand background knowledge,
it's said that the default value is not enough for high speed transfer.


--Buganini

[-- Attachment #2: stk-webcam.h.patch --]
[-- Type: application/octet-stream, Size: 476 bytes --]

--- linux/drivers/media/video/stk-webcam.h.orig	2009-11-12 22:21:05.000000000 +0800
+++ linux/drivers/media/video/stk-webcam.h	2009-11-12 02:42:45.616603379 +0800
@@ -28,8 +28,8 @@
 #define DRIVER_VERSION		"v0.0.1"
 #define DRIVER_VERSION_NUM	0x000001
 
-#define MAX_ISO_BUFS		3
-#define ISO_FRAMES_PER_DESC	16
+#define MAX_ISO_BUFS		2
+#define ISO_FRAMES_PER_DESC	64
 #define ISO_MAX_FRAME_SIZE	3 * 1024
 #define ISO_BUFFER_SIZE		(ISO_FRAMES_PER_DESC * ISO_MAX_FRAME_SIZE)
 

                 reply	other threads:[~2009-11-14  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=e5b1e8d40911140109k78721b1er7b167d05d6f2e26e@mail.gmail.com \
    --to=buganini@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.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

all inboxes | Powered by JetHome®