Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 17:38:20 -0400
From:      "Scott Stewart" <Scott@tampabay.rr.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Kernel functions
Message-ID:  <000701be91bf$717f45e0$b9065c18@scott.tampabay.rr.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BE919D.E8993400
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am porting a driver from another flavor UNIX to FreeBSD. The driver in =
questions uses 4 specific Kernel functions that I would appreciate =
someone giving me a little more info about than that which is contained =
in the manual.

The four are:

    tsleep()    -    sleep() is used in the original driver
    timeout()
    untimeout()
    wakeup()

All four are subtly different in arguments and return values from the =
form in FreeBSD. Further, due to ambigious documentation, they could =
work differently, or the same. If they effectively perform the same =
fuction, I can easily convert the code, if not I will have to rewrite =
the function or find some other work around. I perfer the former.

Any help would be appreciated.

Please reply to my work E-mail - bb@netwolves.com

Thanks in advance
Bill Britt


------=_NextPart_000_0004_01BE919D.E8993400
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I am porting a driver from another =
flavor UNIX=20
to FreeBSD. The driver in questions uses 4 specific Kernel functions =
that I=20
would appreciate someone giving me a little more info about than that =
which is=20
contained in the manual.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>The four are:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; =
tsleep()&nbsp;&nbsp;&nbsp;=20
-&nbsp;&nbsp;&nbsp; sleep() is used in the original driver</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; =
timeout()</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; =
untimeout()</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; =
wakeup()</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>All four are subtly different in =
arguments and=20
return values from the form in FreeBSD. Further, due to ambigious =
documentation,=20
they could work differently, or the same. If they effectively perform =
the same=20
fuction, I can easily convert the code, if not I will have to rewrite =
the=20
function or find some other work around. I perfer the =
former.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Any help would be =
appreciated.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Please reply to my work E-mail - <A=20
href=3D"mailto:bb@netwolves.com">bb@netwolves.com</A></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Bill Britt</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0004_01BE919D.E8993400--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be91bf$717f45e0$b9065c18>