home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4600 < prev    next >
Encoding:
Text File  |  1992-09-09  |  870 b   |  24 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ucselx!pham
  3. From: pham@ucselx.sdsu.edu (Peter Pham)
  4. Subject: How md_space in struct mb_device defined?
  5. Message-ID: <1992Sep9.232235.6644@ucselx.sdsu.edu>
  6. Keywords: [SunOS4.1.1]
  7. Organization: San Diego State University Computing Services
  8. Date: Wed, 9 Sep 1992 23:22:35 GMT
  9. Lines: 13
  10.  
  11.  
  12. I am trying to make a device driver loadable on SunOS 4.1.1
  13. (on a Sun4/330).  There is a structure 'mb_device' that I need
  14. to initialize.  Under this structure, there is a field called
  15. 'u_int  md_space'.  The comment for this field (structure 
  16. defined in <sundev/mbvar.h>) says this is a field for "encoded
  17. address space".  Suppose I want the VME address space of 32D32,
  18. what should I put in this field?  Does anyone know the "encoded
  19. address space" is pre-defined some where?
  20.  
  21. Thanks in advance.
  22.  
  23. Peter Pham
  24.