Article View: comp.sys.sun
Article #11704Sun device driver questions?
From: Gary Stewart
Date: Thu, 23 Mar 1989 23:51
Date: Thu, 23 Mar 1989 23:51
28 lines
1891 bytes
1891 bytes
I am currently looking at writing a device driver for a pair of cards
that compose a single device. Theses are VME cards and will be installed
in a SUN 3. Each card has it's own processor with down loadable
instruction rams. Each card also believe's it has an address space of one
megabyte. I have three questions which are as follows
1. Is the csr value in the Sun Config file the physical address of the actual
card and if not, how is the physical address supplied to the kernel
2. If the cards are given physical addresses one megabyte apart, can i
fool the kernel into thinking the two cards are actually one single
card with a 2 meg address space (an ultimate goal). If i cannot do this,
what is a good way to make the two cards memory locations appear as one
so that only one driver is needed.
3. The third question is with respect to loading the ram's. For initial
test purposes i will load them by way of the write command in conjunction
with the ioctl function. This is clearly not a satisfactory long term
solution. I would welcome suggestions from others who have already
solved this problem as to the best approach.
thanks gary
Note: I am unsure of exact mailpath but an attempt follows
...utgpu!bnr-vpa!bnr-fos!bnr-public!garyst
...utgpu!bnr-vpa!bnr-fos!bnr
Technical Details
Message-ID:
<337@bnr-fos.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: leibniz!garyst@bnr-fos.uucp (Gary Stewart) Newsgroups: comp.sys.sun Subject: Sun device driver questions? Keywords: SunOS Message-ID: <337@bnr-fos.UUCP> Date: 23 Mar 89 23:51:00 GMT Sender: usenet@rice.edu Organization: Bell-Northern Research, Ottawa, Canada Lines: 28 Approved: Sun-Spots@rice.edu Original-Date: 10 Mar 89 20:55:39 GMT X-Sun-Spots-Digest: Volume 7, Issue 209, message 13 of 13