--=_courier-11840-1044285809-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2003-02-03 at 16:13, Grzegorz Jaskiewicz wrote:
> few days ago i started to port driver for our hardware in company from
> windows to linux. It is simple ISA card, which gives me interrupt each
> 8ms. So i can check it state and latch some sort of watchdog on it -
> saying that i am still running (just for security, if system hangs card
> is blocking all inputs/outputs).=20
forgot to tell you that
ttimer.expires =3D jiffies+(HZ/150.0);
you CANNOT use floating point in kernel mode! And that for HZ=3D100 this
gives you a timer that expires immediatly.
and that
printk("<1>%d\n", TimerIntrpt);
you shouldn't use <1> in printk strings ever.
--=_courier-11840-1044285809-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+Pok+xULwo51rQBIRAqFlAJwINg3WsQeUd/W4lInweWL7+AqxDACbB6PL
GKJGOB9e5eU8MqQapENp140=
=RydD
-----END PGP SIGNATURE-----
--=_courier-11840-1044285809-0001-2--