*BSD News Article 4784


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!ucselx!pham
From: pham@ucselx.sdsu.edu (Peter Pham)
Subject: How md_space in struct mb_device defined?
Message-ID: <1992Sep9.231438.5857@ucselx.sdsu.edu>
Keywords: [SunOS4.1.1]
Organization: San Diego State University Computing Services
Date: Wed, 9 Sep 1992 23:14:38 GMT
Lines: 13


I am trying to make a device driver loadable on SunOS 4.1.1
(on a Sun4/330).  There is a structure 'mb_device' that I need
to initialize.  Under this structure, there is a field called
'u_int  md_space'.  The comment for this field (structure 
defined in <sundev/mbvar.h>) says this is a field for "encoded
address space".  Suppose I want the VME address space of 32D32,
what should I put in this field?  Does anyone know the "encoded
address space" is pre-defined some where?

Thanks in advance.

Peter Pham