System V/68 device driver timers

Robert Fenske Jr fenske at dfsun1.electro.swri.edu
Thu Jun 28 00:20:26 AEST 1990


	Anyone know about Motorola System V/68 device driver
kernel timer routines?  I'm trying to develop a device driver for
some hardware we have.  Inside the driver I want to time out
some events if they don't occur.  As far as I can tell I
am calling the timeout() and untimeout() routines correctly,
yet eventually I get a system panic with timeout table
overflow.  As though the untimeout routine isn't releasing
the timer as it should.  I'm making the calls like this:

<index> = timeout(<my timeout routine>,<minor dev #>,<timeout value>);

	untimeout(<index>);

I call untimeout() if the event occurs or when the timeout does
occur (this is a just-in-case).

I'm running System V/68 Release 3 Version 5.1 on a MVME147A-1.
I'd like to know if I'm handling the timer correctly, and if not
what am I not doing right/lacking.


-- 
Robert Fenske, Jr.                      Sw     | The Taming the C*sm*s series:
Electromagnetics Division              /R---\  |
Southwest Research Institute          | I    | | "The Martian canals were the
dfsun1.electro.swri.edu 129.162.160.4  \----/  |  Martians' last ditch effort."



More information about the Comp.unix.wizards mailing list