home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 September / VPR9709B.ISO / BIOS / free / Drivers / pdc2000.exe / OS2 / README.OS2 < prev   
Text File  |  1995-03-30  |  9KB  |  252 lines

  1. CMD 32-Bit Local Bus IDE Driver Installation Instructions 
  2. ---------------------------------------------------------
  3.  
  4. INSTALLATION
  5. ------------
  6.  
  7. 1) Copy CMD640X.ADD and CMDATAPI.FLT to your OS2\BOOT directory 
  8. (e.g., C:\OS2\BOOT).
  9.  
  10. 2) Edit C:\CONFIG.SYS (type E C:\CONFIG.SYS), replacing 
  11.     BASEDEV=IBM1S506.ADD
  12.    with 
  13.     BASEDEV=CMD640X.ADD /V
  14.  
  15. 3) Reboot the system and verify that it is functioning correctly.
  16.    The following steps are optional, for those who are interested in
  17.    getting maximum performance.
  18.  
  19.  
  20. 4) In order for the driver to load performance optimizations for your
  21.    IDE drives, you must specify your Local Bus clock speed.  IF YOU ARE
  22.    NOT SURE OF YOUR LOCAL BUS CLOCK SPEED, DO NOT PROCEED UNTIL YOU ARE
  23.    SURE.  
  24.    
  25.    PCI-Bus:  If you are using a 25MHz or DX2-50 processor, your Local Bus
  26.    speed is probably 25.  Otherwise, it is probably 33.  
  27.  
  28.    VL-Bus:  If you are using a DX processor, your Local Bus clock speed is
  29.    equal to your CPU clock speed.  If you are using a DX2, your Local Bus
  30.    clock speed is half of your CPU clock speed.
  31.      VL Examples:
  32.        1) 486-50DX CPU - Local Bus clock speed = 50
  33.        2) 486-66DX2 CPU - Local Bus clock speed = 66/2 = 33
  34.  
  35. 5) Edit C:\CONFIG.SYS.  Find the line
  36.     BASEDEV=CMD640X.ADD /V
  37.    and change it to
  38.     BASEDEV=CMD640X.ADD /V /LBSPEED:dd
  39.  
  40.    where dd = Local Bus Speed in MHz.
  41.  
  42. 6) Next, reboot your system, and the driver will load drive optimizations.
  43.  
  44.  
  45.  
  46.  
  47. COMMAND LINE OPTIONS
  48. --------------------
  49.  
  50. The following diagram illustrates the CMD640X.ADD unit parameter structure: 
  51.  
  52.  
  53. BASEDEV=CMD640X.ADD  ---------------------------> 
  54.                |                   ^
  55.                |--- /V ------------|
  56.                |--- /LBSPEED:dd ---|
  57.                |----/CH2:dd--------|
  58.                |-------------------|
  59.  
  60.  
  61. -------> /A:d -------------------------------------->
  62.         ^  |                      ^   |
  63.         |  |------ /I ----------->|   |
  64.         |  |------ /<!>R -------->|   |
  65.         |  |------ /IRQ:dd ------>|   |
  66.         |  |------ /PORT:hhhh --->|   |
  67.         |  |------ /16BIT ------->|   |
  68.         |  |-------/!SATM---------|   |
  69.         |  |----------------------|   |
  70.         |                             |
  71.         |-----------------------------|
  72.  
  73.  
  74.  -------> /U:d -------> /GEO: ------------> dd -------------------------->
  75.     ^            ^ |            |                            ^ | |  |
  76.     |            | |            |----- (dddd,dddd,dddd) -----| | |  |
  77.     |            | |                                           | |  |    
  78.     |            | |------------ /T:dddd ----------------------| |  |
  79.     |            | |------------ /<!>SMS ----------------------| |  |
  80.     |            | |------------ /<!>LBA ----------------------| |  |
  81.     |            | |------------ /PIOMODE:d -------------------| |  |
  82.     |            |-----------------------------------------------|  |
  83.     |                                                               | 
  84.     |---------------------------------------------------------------|
  85.  
  86.  
  87.  CMD640X.ADD Device Driver Parameters 
  88.  
  89.  
  90.  /V        Verbose - Display driver information 
  91.  
  92.  This parameter displays the adapter device driver level, disk controller
  93.  status and drive geometry information during the OS/2 system
  94.  initialization. 
  95.  
  96.  
  97.  /LBSPEED:dd     Local Bus Clock Speed
  98.  
  99.  This parameter specifies the clock speed of the local bus in MHz.
  100.  Specifying this parameter enables the driver to load performance
  101.  optimizations for each attached drive (ATA Timing Modes).  <dd>
  102.  must be between 20 and 50.  The /V - (Verbose)  option will display
  103.  the local bus clock speed, as well as the ATA PIO Timing mode
  104.  supported by each drive.
  105.  
  106.  NOTE:  If your BIOS has built-in support for Fast PIO Modes on the
  107.  PCI-0640X, specifying /LBSPEED will override your BIOS' settings.
  108.  Don't specify /LBSPEED if you do not wish the driver to perform
  109.  PCI-0640X drive/chip initialization.  See the /!SATM parameter below
  110.  for information on how to control initialization on a per-IDE port
  111.  basis.
  112.  
  113.  
  114.  /CH2:dd         Secondary IDE Channel
  115.  
  116.  This parameter enables support of the secondary IDE channel.  If <dd>
  117.  is 0, the PCI-0640X Secondary IDE Channel is used.  If <dd> is 1, the
  118.  driver will support an external 16-bit ISA IDE adapter.  If /CH2 is
  119.  not specified, the secondary IDE channel is ignored.
  120.  
  121.  
  122.  /A:d            Adapter Number 
  123.  
  124.  This parameter specifies the IDE port number to which options following
  125.  this parameter apply.  Specify 0 for the Primary IDE, and 1 for Secondary
  126.  IDE.
  127.  
  128.  
  129.  /I        Ignore Adapter 
  130.  
  131.  This parameter indicates that the CMD IDE driver should not attempt to
  132.  initialize the adapter indicated. 
  133.  
  134.  This adapter device driver automatically attempts to locate and initialize
  135.  both the primary and secondary adapters. In some cases other DASD
  136.  controllers may appear between the primary and secondary IDE controllers.
  137.  In these cases the system should be configured as follows: 
  138.  
  139.  BASEDEV=CMD640X.ADD /V /A:1 /I
  140.  BASEDEV=MOREDASD.ADD
  141.  BASEDEV=CMD640X.ADD /V /A:0 /I
  142.  
  143.  
  144.  /<!>R     Reset Adapter 
  145.  
  146.  If this parameter is negated (/!R), adapter resets are disabled. In most
  147.  cases resets are beneficial to assist in recovering from transient
  148.  hardware problems such as lost interrupts, timeouts, or commands a
  149.  particular adapter may not support. 
  150.  
  151.  
  152.  /IRQ:dd         Interrupt Level 
  153.  
  154.  This parameter overrides the default IRQ Number for the adapter indicated.
  155.  The default IRQ address for Adapter 0 is (14) and for Adapter 1 is (15).
  156.  
  157.  
  158.  /PORT:hhhh      Port Number
  159.  
  160.  This parameter specifies the (hexadecimal) I/O port base address to be
  161.  used when accessing the specified adapter.  Defaults for are 1F0 for
  162.  /A:0, and 170 for /A:1.
  163.  
  164.  
  165.  /16BIT          16-Bit Access
  166.  
  167.  By default, 32-Bit accesses are used for Local Bus IDE ports.  If
  168.  If 16-Bit accesses are preferred, this parameter should be specified.
  169.  
  170.  
  171.  /U:d            Unit Number 
  172.  
  173.  This parameter specifies the fixed disk drive number to which options
  174.  following this parameter apply.  Fixed disk drive numbers start at 0. 
  175.  
  176.  
  177.  /GEO      Drive Geometry 
  178.  
  179.  This parameter overrides the Cylinder/Head/Sector geometry for the unit
  180.  selected. The fourth parameter is the Write Precompensation Cylinder which
  181.  may be omitted for drives which do not require precompensation. 
  182.  
  183.  As an alternate format standard BIOS drive types may be used. Types (0-46)
  184.  are supported. User defined types 47-49 should be entered directly by in
  185.  the previous format. 
  186.  
  187.  If a second set of geometry is present, then the first set specifies the
  188.  physical geometry of the drive, and the second set indicates the translated
  189.  geometry which is reported to the OS/2 system. 
  190.  
  191.  
  192.  /T:dddd         Drive Timeout 
  193.  
  194.  This parameter indicates the total allowable error recover time for a
  195.  request. Error recovery times < 5 seconds will be ignored. This parameter
  196.  defaults to 30 seconds. A shorter interval may be desirable for fault
  197.  tolerant applications. 
  198.  
  199.  
  200.  /<!>SMS         Enable Multple Block I/O Support 
  201.  
  202.  This parameter enables Set Multiple Support, which the improves performance
  203.  of most IDE drives. If the drive does not support this feature, this switch
  204.  will be ignored. The /V - (Verbose) option will indicate whether this
  205.  feature has been enabled on a particular drive.   By default, Set Multiple
  206.  Support is enabled.  To disable it on a particular drive, use /!SMS.
  207.  
  208.  
  209.  /<!>LBA            Enable LBA Support 
  210.  
  211.  This parameter enables Logical Block Support for IDE drives which support
  212.  this option. The /V - (Verbose) option will indicate whether this feature
  213.  has been enabled on a particular drive.  By default, LBA Support is
  214.  disabled.
  215.  
  216.  
  217.  /!SATM             Disable Setting of ATA Timing Modes 
  218.  
  219.  
  220.  This parameter prevents the driver from loading performance optimizations
  221.  for drives attached to the currently specified adapter.  If your BIOS
  222.  directly supports the CMD PCI IDE and you don't want to override its
  223.  settings, you must specify /!SATM.
  224.  
  225.  NOTE:  Not specifying /LBSPEED is equivalent to "/A:0 /!SATM /A:1 /!SATM."
  226.  
  227.  
  228.  /PIOMODE:d         Override Vendor-Specified ATA PIO Mode
  229.  
  230.  By default, the driver automatically sets the highest ATA PIO timing mode
  231.  supported by each drive.  This parameter allows the user to override the
  232.  vendor-specified ATA PIO timing mode with any timing mode between 0 and 5.
  233.  This is particularly useful for support of drives which have firmware
  234.  bugs, causing them to return incorrect PIO timing modes in the IDENTIFY
  235.  DRIVE command.  For example, many current drives which claim to be Mode 2
  236.  are really Mode 0 or Mode 1.
  237.  
  238.  WARNING:  Setting a PIO Mode higher than supported by a drive may cause
  239.        boot failure or data corruption.  However, setting a lower PIO
  240.        Mode than specified by a drive is harmless.
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.