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