home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / misc / 3825 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.7 KB

  1. Path: sparky!uunet!olivea!decwrl!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!newsaintmail
  2. From: sim@mdtf14.fnal.gov (Jim Sim)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: VME address modifier codes on SparcEngine 1e boards
  5. Message-ID: <SIM.92Aug21110809@mdtf14.fnal.gov>
  6. Date: 21 Aug 92 17:08:09 GMT
  7. Sender: daemon@linac.fnal.gov (The Background Man)
  8. Distribution: usa
  9. Organization: Fermilab, Batavia, IL
  10. Lines: 23
  11. Nntp-Posting-Host: mdtf14.fnal.gov
  12.  
  13. I am using a SparcEngine 1e board to control several VME devices.  The 
  14. CPU is running SunOS 4.1e. I am programming the devices by opening the
  15. appropriate device files (/dev/vme24d16 and /dev/vme16d16), calling mmap 
  16. to map to the device registers, and then peeking and poking to the appropriate 
  17. registers.
  18.  
  19. One of the VME devices I am programming is jumper-selectable to use 
  20. either supervisory or non-privileged short addressing.  This device responds
  21. only when jumpered for non-privileged addressing.   However, this device 
  22. responded on a different (non-Sun) computer, even while jumpered for 
  23. supervisory mode addressing.
  24.  
  25. Another of the VME devices I am programming uses standard addressing, 
  26. but has no jumper for selecting supervisory or non-privileged modes.  This 
  27. device responds on the non-Sun computer, but not on the SparcEngine 1e.  
  28. The documentation for this device does not indicate whether it uses 
  29. supervisory or non-privileged addressing modes, but the fact that it 
  30. responds on the non-Sun computer, but not on the SparcEngine 1e board,
  31. suggests that it uses supervisory addressing mode.
  32.  
  33. Is there a way of programming the address modifier bits of the VME bus from the
  34. SparcEngine 1e board running SunOS?  Does SunOS provide non-privileged 
  35. access by default when mmap is called?
  36.