home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12980 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  2.5 KB

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