From: Hans-Joachim Hetscher <me@privacy.net>
To: linux-kernel@vger.kernel.org
Cc: linux-hams@vger.kernel.org
Subject: [PATCH] 2.5.75 6PACK
Date: Sat, 26 Jul 2003 08:10:27 +0200 [thread overview]
Message-ID: <3F221B53.7000504@privacy.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
the Hamradio 6pack driver wasn't modified to work with the 1000 HZ
internal kernel timebase.
So here the patch to solve this little problem
vy 73 de Hans-Joachim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/IhtT3VQwVx4wircRAk2FAJ99nrAIqEQUrHCZk1DPRLcKRulvlwCfbtbH
UOa/Qp704Ac6UXudrfoOEl8=
=eL+I
-----END PGP SIGNATURE-----
[-- Attachment #2: 6pack.diff --]
[-- Type: text/plain, Size: 754 bytes --]
--- linux/drivers/net/hamradio/6pack.c.ori 2003-07-19 08:00:05.000000000 +0200
+++ linux/drivers/net/hamradio/6pack.c 2003-07-25 07:35:27.000000000 +0200
@@ -67,11 +67,11 @@
#define SIXP_DAMA_OFF 0
/* default level 2 parameters */
-#define SIXP_TXDELAY 25 /* in 10 ms */
+#define SIXP_TXDELAY 0.25*HZ /* in 1 s */
#define SIXP_PERSIST 50 /* in 256ths */
-#define SIXP_SLOTTIME 10 /* in 10 ms */
-#define SIXP_INIT_RESYNC_TIMEOUT 150 /* in 10 ms */
-#define SIXP_RESYNC_TIMEOUT 500 /* in 10 ms */
+#define SIXP_SLOTTIME 0.1*HZ /* in 1 s */
+#define SIXP_INIT_RESYNC_TIMEOUT 1.5*HZ /* in 1 s */
+#define SIXP_RESYNC_TIMEOUT 5*HZ /* in 1 s */
/* 6pack configuration. */
#define SIXP_NRUNIT 31 /* MAX number of 6pack channels */
next reply other threads:[~2003-07-26 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-26 6:10 Hans-Joachim Hetscher [this message]
2003-07-26 6:46 ` [PATCH] 2.5.75 6PACK Con Kolivas
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=3F221B53.7000504@privacy.net \
--to=me@privacy.net \
--cc=hajohe@imail.de \
--cc=linux-hams@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).