home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10692 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.6 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!miller.cs.uwm.edu!jimj
  2. From: jimj@miller.cs.uwm.edu (James Jegers)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Kernel Device Hacking
  5. Date: 28 Dec 1992 16:53:55 GMT
  6. Organization: University of Wisconsin - Milwaukee
  7. Lines: 29
  8. Distribution: world
  9. Message-ID: <1hnbf3INNjd5@uwm.edu>
  10. NNTP-Posting-Host: 129.89.9.13
  11.  
  12.  
  13.   I'm interested in writing a device driver for the speaker
  14.   on my 386BSD box.  I wrote all of my code, and then when I went
  15.   to compile it it came back saying undefined struct clist.
  16.   I poked around the header files for a while, and could find the
  17.   size of clist defined, but nowhere did I find the actuall structure
  18.   defined?
  19.  
  20.     Does 386BSD support clists?
  21.  
  22.     I need some temporary buffers, what can I use instead.  I didn't really
  23.     want to write my own FIFO.
  24.  
  25.     Also:  I need my driver to be awakened after so many milliseconds.
  26.     can I use the timeout() call to wake myself up?  If so, what
  27.     processor priority does that run as, so I can splx(), the other
  28.     half of the code during critical sections.
  29.  
  30.  PS.  I was hopeing to write this driver myself, but if anyone
  31.  else already has one, I'd like to look at it.
  32.  
  33. -- 
  34.      ______________________________________________________________
  35.     /\               University of Wisconsin -- Milwaukee          \
  36.     \_| Computing Services Division     Computer Science Department |
  37.       |   jimj@csd4.csd.uwm.edu           jimj@miller.cs.uwm.edu    |
  38.       |   jimj@convex.csd.uwm.edu                                   |
  39.       |   __________________________________________________________|___
  40.        \_/_____________________________________________________________/
  41.