home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / twindv21.zip / TWINDVR.DOC < prev    next >
Text File  |  1992-08-21  |  4KB  |  80 lines

  1.  
  2.  
  3. ********************************************************************************
  4. 1. Add the following to config.c in the list of main level commands
  5. ********************************************************************************
  6.  
  7. #ifdef    PACKETWIN
  8.     "tsync_stat",    do_tsync_stat,    0, 0, NULLCHAR,
  9.     "tsydump",        do_tsync_dump,    0, 2, "tsydump <channel>",
  10. #endif
  11.  
  12. ********************************************************************************
  13. 2. Next add the following to config.c under the attach command list 
  14. ********************************************************************************
  15.  
  16. #ifdef  PACKETWIN
  17.     /* Gracilis PackeTwin */
  18.     "tsync", tsync_attach, 0, 11,
  19.     "attach tsync <chan> <vec> <iobase> <hdx|fdx> <dma|ints> <rxdmachan> <name> <rxsize> <txsize> <speed> [txclk] [rxclk] [nrz|nrzi] [ipaddr] [#rxbufs]",
  20. #endif
  21.  
  22. ********************************************************************************
  23. 3. Add the following function declarations to commands.h
  24. ********************************************************************************
  25.  
  26.     /* In twin_dr.c/twin_at.c  - Gracilis PackeTwin */
  27.     int tsync_attach __ARGS((int argc,char *argv[],void *p));
  28.     int do_tsync_stat __ARGS((int argc,char *argv[],void *p));
  29.     int do_tsync_dump __ARGS((int argc,char *argv[],void *p));
  30.  
  31. ********************************************************************************
  32. 4. Add the following definition to the interfaces section of config.h
  33. ********************************************************************************
  34.  
  35.     #define PACKETWIN    1    /* Gracilis PackeTwin driver */
  36.  
  37. ********************************************************************************
  38. 5. Copy the following files to the build directory
  39. ********************************************************************************
  40.  
  41.     # These are the PackeTwin driver itself
  42.  
  43.     twin_dr.c twin_at.c twinvec.asm twin.h
  44.  
  45.     # These are some definitions and support routines common to all
  46.     # Gracilis drivers.
  47.  
  48.     gracilis.h gracilis.c
  49.  
  50. ********************************************************************************
  51. 6. Create and add dependencies for the new driver sources to the makefile.
  52.    Currently, the dependencies are as follows:
  53. ********************************************************************************
  54.  
  55. # GRACILIS PackeTwin driver
  56. gracilis.obj: gracilis.c global.h mbuf.h iface.h gracilis.h config.h lapb.h ax25.h proc.h
  57. twin_dr.obj: twin_dr.c global.h config.h hardware.h mbuf.h iface.h ax25.h trace.h proc.h pktdrvr.h z8530.h gracilis.h twin.h
  58. twin_at.obj: twin_at.c global.h config.h hardware.h mbuf.h iface.h ax25.h trace.h netuser.h proc.h pktdrvr.h devparams.h z8530.h gracilis.h twin.h
  59. twinvec.obj: twinvec.asm
  60.  
  61. ********************************************************************************
  62. 7. Add the following to the 'PC' section of the makefile
  63. ********************************************************************************
  64.  
  65.     gracilis.obj twin_at.obj twin_dr.obj twinvec.obj
  66.  
  67. ********************************************************************************
  68. 8. Also add them to the pc.tl file... thus:
  69. ********************************************************************************
  70.  
  71.     +gracilis.obj &
  72.     +twin_dr.obj &
  73.     +twin_at.obj &
  74.     +twinvec.obj
  75.  
  76. ********************************************************************************
  77. 9. Type "make" and wait till it's done... 
  78. ********************************************************************************
  79.  
  80.