home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / ruzne / caviar / wdcdrv.doc < prev    next >
Text File  |  1995-12-09  |  11KB  |  247 lines

  1.          COPYRIGHT (c) 1994 WESTERN DIGITAL CORPORATION
  2.                 WDCDRV.DOC
  3.             READ ME FILE FOR WDCDRV.386
  4.  
  5. WDCDRV.386
  6. Version:    2.5
  7. Date:       6/17/94
  8. Size:       16,475 BYTES
  9.  
  10. CAVIAR.EXE
  11. Version:    1.0
  12. Date:       2/16/94
  13. Size:       87,024
  14.  
  15. 1.1 Overview
  16.  
  17. WDCDRV.386 is a "Fastdisk" hard disk driver for use under Microsoft's  Windows
  18. 3.1 on 386 or higher based systems. Its main benefit is its ability  to transfer
  19. data from the hard disk in either a Block Mode PIO fashion, EISA type 'B' DMA
  20. fashion, or PCI type 'F' fashion.
  21.  
  22. CAVIAR.EXE is a configuration program that allows the user to change the option
  23. settings for WDCDRV.386 through a Windows program. This program makes it
  24. unnecessary for the user to edit SYSTEM.INI directly to change the options that
  25. WDCDRV.386 reads from the [WDCDRV] section of that file. It also will reduce the
  26. possibility of the user making invalid edits or damaging his SYSTEM.INI while
  27. manually editing it. During installation, the setup program creates a program
  28. group and icon for executing this configuration program. The program includes
  29. on-line help for operating the program as well as the purpose of each option
  30. setting.  Reviewing this help information is highly recommended.
  31.  
  32. 1.2 WDCDRV Features
  33.  
  34. WDCDRV implements several enhancements to the basic *WDCTRL Fastdisk driver
  35. shipped with Windows 3.1. The subsections that follow contain summaries of
  36. these features. For more detailed descriptions of the related options for each
  37. feature see section 3.x.
  38.  
  39. 1.2.1 Block Mode PIO
  40.  
  41. Block Mode PIO is a means of transferring multiple sectors at a time between 
  42. the host and hard disk as opposed to transferring one sector at a time. 
  43. Normally in an AT compatible machine a hardware interrupt occurs for each 
  44. sector transferred to/from the hard disk. Under Block Mode PIO one interrupt 
  45. will occur for a block of sectors. The number of sectors that are to be 
  46. transferred per interrupt is programmable by the host and is referred to as 
  47. the blocking factor. The driver will determine if block mode is enabled for 
  48. the drive when you start Windows. If block mode is detected then the blocking 
  49. factor programmed is used as the default value for the Fastdisk driver. If 
  50. block mode was not enabled for the drive when Windows was started the default 
  51. blocking factor used equals the maximum blocking factor supported that is 
  52. reported by the drive on an Identify Drive command.
  53.  
  54. Transferring data via Block Mode PIO increases throughput by eliminating the
  55. inter-sector overhead associated with each sector. This is most beneficial when
  56. the hard disk is transferring data out of its cache.  Block Mode data transfers
  57. are enabled by default.
  58.  
  59. 1.2.2 DMA Transfers
  60.  
  61. Transferring drive data via DMA allows the host CPU to work on other tasks
  62. while hard disk data transfers are taking place. This increases the overall CPU
  63. bandwidth which is critical in multi-tasking environments.
  64.  
  65. This driver only runs Block Mode PIO and DMA on Western Digital drives. To use
  66. the DMA feature the drive must be installed in an EISA or PCI  system and the
  67. DMARQ and DMACK- signals on the the 40 pin cable must be  connected to the
  68. proper DMA request and acknowledge signals on the EISA  or ISA bus.
  69.  
  70. This revision of WDCDRV drive automatically detects DMA channel and system bus
  71. type being EISA, PCI/ISA or PCI/EISA.
  72.  
  73. 1.2.2.1 EISA Type B DMA
  74.  
  75. This driver also supports EISA type 'B' DMA transfers for drives that support
  76. this feature and are installed in an EISA system. Data is transferred at a rate
  77. of 4 MB/sec which is about double that of a 6 MHz AT. The standard Read DMA and
  78. Write DMA commands as described in the CAM ATA specification are used.
  79.  
  80. 1.2.2.2 PCI Type F DMA
  81.  
  82. Furthermore, type 'F' DMA is supported in PCI based systems. Data is
  83. transferred at a rate of between 6 and 8 MB/sec using type 'F' DMA. The same
  84. Read DMA and Write DMA op codes are used, the only difference is in the
  85. programming of the DMA controller on the motherboard.
  86.  
  87. 1.2.3 Translating BIOS
  88.  
  89. Translating BIOS allows use of IDE drives larger than 528 megabytes. When a
  90. translating BIOS is present the standard *WDCTRL will not load and operate. The
  91. WDCDRV.386 program recognizes and functions correctly with translating BIOS. In
  92. addition many translating BIOS use logical block addressing (LBA) which is also
  93. incompatible with *WDCTRL. If a drive is capable of LBA operation then LBA mode
  94. will always be used.
  95.  
  96. 1.2.4 Disk Manager Compatibility
  97.  
  98. Use of Ontrack Disk Manager prevents operation of *WDCTRL since Disk Manager
  99. performs translation and other activities which cause *WDCTRL to be become
  100. non-functional. Versions of WDCDRV later than 2.3 will detect and operate with
  101. Disk Manager version 6.03.
  102.  
  103. 2.1 Notes on Operation
  104.  
  105. There are several issues related to operation of the driver that the user may
  106. need to be aware of. These are detailed in this section and may cover potential
  107. incompatibilities or may simply be more detailed information on driver operation
  108. or installation.  Not all information will be needed by every user and may often
  109. be skipped or ignored.
  110.  
  111. 2.2 Known Problems
  112.  
  113. 2.2.1 MS-DOS 5.0 EMM386.EXE
  114.  
  115. This driver will not operate with the version of EMM386.EXE supplied with
  116. MS-DOS 5.0.  This version should not be in use since Windows 3.1 setup will
  117. replace the lines in CONFIG.SYS to load HIMEM.SYS and EMM386.EXE with lines to
  118. load these files from the Windows directory.  New versions of these files
  119. supplied with Windows 3.1 operate correctly with WDCDRV.386. The versions of
  120. EMM386.EXE supplied with MS-DOS 6.0 and MS-DOS 6.2 have also been verified to
  121. operate correctly with WDCDRV.386.
  122.  
  123. 2.3 Technical Information
  124.  
  125. 2.3.1 LBA Mode Operation
  126.  
  127. The driver will always operate in LBA mode if the drive is capable of using LBA
  128. mode commands. This reduces overhead in the driver and the drive firmware
  129. slightly and will not impact drive operation in any other way.
  130.  
  131. 2.3.1 Temporary Swap Files
  132.  
  133. When Windows is configured for a temporary swap file it performs accesses to
  134. that swap file through the PC BIOS. A potential conflicts between one blocking
  135. factor being used for swap file accesses by the BIOS and another blocking factor
  136. being used by all other Windows disk accesses the driver requires special
  137. processing by the driver.  Thus the driver will not allow the blocking factor to
  138. be changed from that selected by the BIOS when a temporary swap file is in use
  139. by Windows.  Any attempt to change the blocking factor in the SYSTEM.INI file
  140. will be ignored.  The driver will continue to use block mode transfers using the
  141. blocking factor selected by the system BIOS at power-on.
  142.  
  143. 3.1 Installation Instructions
  144.  
  145. You must have Windows 3.1 installed on your hard disk prior to performing any 
  146. installation of the WDCDRV.386 driver. You then have two methods for 
  147. installation of the driver.  The first, and recommended, method is the 
  148. automatic installation procedure which only requires you to run the SETUP.EXE 
  149. utility from Windows 3.1. This SETUP.EXE and the associated files are located 
  150. on the distribution floppy containing the WDCDRV.386 driver. Information on 
  151. running the automated installation procedure can be found in the README.DOC 
  152. file on the WDCDRV.386 distribution floppy. The second method is manual 
  153. installation of the driver program only. The CAVIAR.EXE configuration program 
  154. and its associated help files are not installed by this procedure. You must 
  155. use the automated procedure to install these files if you wish to use them.
  156.  
  157. 3.1.2 Manual Installation Procedure
  158.  
  159.     1. Copy WDCDRV.386 to the Windows directory of your hard disk. This 
  160.        directory is normally C:\WINDOWS but may be different for your system
  161.        configuration.
  162.     2. Edit the SYSTEM.INI file as follows:
  163.  
  164.         OLD:                            NEW:
  165.  
  166.         [386Enh]                        [386Enh]
  167.     device=*wdctrl                  REM device=*wdctrl
  168.                     device=c:\windows\wdcdrv.386
  169.  
  170.     Putting a 'REM' in front of "device=*wdctrl" will cause Windows to  ignore
  171.     this line. The second statement defines the path to the  Western Digital
  172.     driver WDCDRV.386 which is replacing the wdctrl  FastDisk driver from
  173.     Microsoft. If WDCDRV.386 is not in the c:\windows  directory then simply
  174.     type in the proper path to its location in the  device statement.
  175.  
  176.     3. Run Windows and select the "Control Panel" icon. Then select the
  177.        "386 Enhanced" icon. Next select the "Virtual Memory..." option.
  178.        Select "Change>>" and then check the "Use 32-bit Access" option.
  179.        The "Use 32-bit Access" option must be on in order for the 
  180.        WDCDRV.386 FastDisk driver to be loaded. Windows will reboot and 
  181.        WDCDRV.386 will become active.
  182.  
  183.  
  184. >>>>>>  IF you do not see 32 bit Disk access flag displayed at above window
  185.     Please enter following lines in [386Enh] section of system.ini file:
  186.  
  187.     [386Enh]
  188.     32BitDiskAccess=ON / Off
  189.     device=*int13
  190.     device=C:\WDCDRV.386
  191. >>>>>>>
  192.  
  193.                  OPTIONAL SWITCHES:
  194.                  ================== 
  195.  
  196. A new section called [wdcdrv] can be added in the SYSTEM.INI for optional
  197. command line switches as follows:
  198.  
  199.     [wdcdrv]
  200.     DMA=7
  201.     DMATYPE=B
  202.  
  203. In this example, the DMA channel is set to 7 with type B DMA transfers. Since
  204. DMA channel and transfer type are automatically detected during run time, these
  205. switches are either redundant or provide an overide to what the driver would
  206. otherwise use.
  207.  
  208. Please note that the [wdcdrv] section must come after the [386Enh] section in
  209. SYSTEM.INI.
  210.  
  211.                  [WDCDRV] OPTIONAL COMMAND LINE SWITCHES
  212.  
  213. DMA=3, 5, 6 OR 7        Default is automatically detected by the driver.
  214.                         This switch allows an overide of the DMA channel
  215.                         that was automatically detected by the driver.
  216.  
  217.                         NOTE:
  218.  
  219.                         Please do not use this switch if you are not sure
  220.                         what DMA channel is used for the IDE connector in 
  221.                         your system. It is possible that there is no 
  222.                         DMA Channel dedicated to the IDE connector.
  223.  
  224. DMAFLAG=ON / OFF        Default is ON. Can select OFF to turn off DMA. 
  225.  
  226. DMATYPE=F / B           Default is automatically determined by driver. This
  227.                         switch allows an overide of the DMA type that was
  228.                         automatically detected by the driver.
  229.  
  230. BLOCKINGFACTOR=4,8 or 16 This default value for this setting is automatically
  231.                         determined by the driver. If the BIOS has enabled
  232.                         block mode the driver will automatically use the
  233.                         blocking factor programmed by the BIOS as the default.
  234.                         If the BIOS did not program a blocking factor the
  235.                         driver uses the value returned by the Identify Drive
  236.                         command.  This switch allows an overide of the default
  237.                         value chosen by the driver.
  238.  
  239.  
  240.  
  241. SCATTERGATHER=ON / OFF  Default is OFF. Can be enabled via this switch.
  242.  
  243. CSL=ON / OFF            Default is OFF. Required for Intel Express and 
  244.                         Corsair systems when DMA channel 3 is being used. 
  245.                         Configures DMA channel 3 properly.
  246.  
  247.