[PATCH] 2.5.75 6PACK

From: Hans-Joachim Hetscher (me@privacy.net)
Date: Sat Jul 26 2003 - 01:10:27 EST


-----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-----


--- 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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:28 EST