home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!NSCVAX.PRINCETON.EDU!dragon
- From: dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather)
- Newsgroups: comp.os.vms
- Subject: RE: Configuring Device Drivers
- Message-ID: <0095E5A1.B8EB2000.7624@nscvax.princeton.edu>
- Date: 30 Jul 92 19:03:48 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 43
-
-
- Debapriya Ray <dp@natinst.com> writes:
- >
- > I am writing a device driver in VMS for one of our boards. Usually
- >we have a couple of boards and a bunch of devices connected to them. In case
- >of our UNIX drivers for similar boards, we have a program to configure the
- >driver dynamically, i.e, we can change board/device addresses, change
- >interrupt levels, and some other parameters on the fly. The way this is
- >done is by opening the executable driver-file and writing into the .exe
- >code.
- >
- > My question is: How are VMS drivers configured ? Is there any way at
- >all of configuring VMS drivers ? Or, everything has to be hard-wired into the
- >driver code itself before assembly (which is not what we want) ? If you guys,
- >know of any scheme, I'll appreciate it very much if you can pass on the
- >information to me. In case you have any further questions, please email me
- >at: dp@natinst.com.
- >
- > I'll be glad if you can send emails to me (additionally, if you wish
- >to post on the net, its fine), since I am not a regular reader of this
- >newsgroup.
- >
-
- See the SYSGEN CONNECT command. The address of the control and
- status register for the board and the interrupt vector(s) can be specified as
- well as the number of units. SYSGEN builds some control blocks that your
- driver can access that contains this information.
-
- The control blocks are described in detail in Appendix A of the
- "VMS Device Support Manual", order number AA-LA88A-TE. You will need to
- become intimately familiar with this manual if you expect to be able to
- write an I/O driver. I predict that you will find it an experience you
- will never be able to forget. :-)
-
-
- *************************************************************************
- * *
- * Here, there be dragons! *
- * dragon@nscvax.princeton.edu *
- * *
- * Richard B. Gilbert *
- *************************************************************************
-
-