Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP
id AA5636 ; Fri, 01 Jan 93 01:51:31 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!miller.cs.uwm.edu!jimj
From: jimj@miller.cs.uwm.edu (James Jegers)
Newsgroups: comp.unix.bsd
Subject: Kernel Device Hacking
Date: 28 Dec 1992 16:53:55 GMT
Organization: University of Wisconsin - Milwaukee
Lines: 29
Distribution: world
Message-ID: <1hnbf3INNjd5@uwm.edu>
NNTP-Posting-Host: 129.89.9.13
I'm interested in writing a device driver for the speaker
on my 386BSD box. I wrote all of my code, and then when I went
to compile it it came back saying undefined struct clist.
I poked around the header files for a while, and could find the
size of clist defined, but nowhere did I find the actuall structure
defined?
Does 386BSD support clists?
I need some temporary buffers, what can I use instead. I didn't really
want to write my own FIFO.
Also: I need my driver to be awakened after so many milliseconds.
can I use the timeout() call to wake myself up? If so, what
processor priority does that run as, so I can splx(), the other
half of the code during critical sections.
PS. I was hopeing to write this driver myself, but if anyone
else already has one, I'd like to look at it.
--
______________________________________________________________
/\ University of Wisconsin -- Milwaukee \
\_| Computing Services Division Computer Science Department |
| jimj@csd4.csd.uwm.edu jimj@miller.cs.uwm.edu |
| jimj@convex.csd.uwm.edu |
| __________________________________________________________|___
\_/_____________________________________________________________/