   _ _ _
  / / (_)
 _\ \ \
(_)_/_/    DRVINFO v1.1 - An ATA interface identify drive utility.
Copyright 1995 Seagate Technology, Inc. All rights reserved.


Introduction
------------
The DRVINFO program lets you view technical information about your
Seagate hard drive. It is particularly useful for determining whether
your drive supports Fast ATA or Fast ATA-2 high-speed data transfers.

Technical information about each ATA drive is stored on the drive; the
DRVINFO program retrieves this information by issuing the Identify
Drive command. When a drive receives this command it returns 512 bytes
of data to the host computer.

Among other things, this data includes:

   * Drive specifications, such as
     --default cylinder, head, and sector settings
     --bytes per sector and bytes per track
     --the number of ECC bytes available
     --The size of the cache buffer

   * Drive features, such as
     --support for DMA data transfers
     --support for advanced PIO data transfers
     --support for Read Multiple and Write Multiple commands
     --support for LBA addressing schemes

   Note: A detailed description of all the words returned by the
         Identify Drive command is provided later in this file.

DRVINFO is a simple utility that presents the most commonly-used
portions of the Identify Drive data in an easily readable form.

====================================================================

Running DRVINFO
---------------
To run this program, perform the following steps:

1) Type DRVINFO.

2) Select whether to use the Primary or Secondary port address. You
   should select the Primary port address unless you have more than
   one ATA controller in your computer.

3) Select the master drive or the slave drive. If you select the wrong
   drive, simply exit the program and try again.


Alternately, you can specify the port address and master/slave drive
using "switches" after the program name:

  Usage: DRVINFO [P or S] [M or S] [optional: R or D]  or....
         DRVINFO /filename.ATA

  switches:

    (no switches) -  program will prompt for Port and Drive info

    P or S        -  Use the Primary or Secondary Port Address
                     (these default to 1F0h and 170h)

    M or S        -  Select the Master or Slave drive

    The optional R and D switches will only work if the Port and Drive
    switches are also set on the command line.  ex: DRVINFO P M D

    R             -  allow command line redirection (this feature is
                     useful for redirecting the output to a printer or
                     a file)

    D             -  dump the Identify binary data to <filename>.ATA
                     (this allows a copy to be saved that can be
                     studied at a later time. A "collection" of
                     various drive files might be useful for reference
                     purposes.)


    /filename.ATA -  load a previously saved Identify data dump.

=======================================================================

DRVINFO sample output
---------------------
The following is an example of output from the DRVINFO program, for a
Seagate ST31220A (Medalist 1080) drive.

This output shows that this drive supports all of the Fast ATA
features and that Write/Read Multiple is currently set to 16 sectors
per interrupt. Also note that this host system is using a drive
emulation mode that keeps the cylinder count below 1024 (a DOS
limitation):

DRVINFO example:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DRVINFO v1.1 - Copyright 1995, Seagate Technology Inc. All rights reserved.

         Port:  Primary (01F0h)     Unit:  0 - Master
   Model Name:  ST31220A
Serial Number:  0x0x0x0x0x0
    CMOS Type:  47

                Drive             DOS
                Default           Current
    Cylinders:  2099              524
        Heads:  16                64
      Sectors:  63                63
 Max Capacity:  1,083,285,504     1,081,737,216

Fast ATA Attributes
      W/R Multiple:  Yes - 32 sectors Max  Current: 16 sectors/interrupt
          LBA Mode:  Yes - 2,116,296 logical blocks
Multiword DMA Mode:  Yes - (0111)
 Advanced PIO Mode:  Yes - PIO Mode 4 is highest  (Default is PIO Mode 2)

Drive Cache Buffer:  256 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


===========================================================================

About Fast ATA and Fast ATA-2
------------------------------

This section provides a little background information on Fast ATA and
Fast ATA-2.

Fast ATA is a term used to describe disc drives that support specific
high-speed data transfer protocols, including:

   * Programmed Input/Output (PIO) mode 3
   * Multiword Direct Memory Access (DMA) mode 1
   * Read/Write Multiple sectors per interrupt


Fast ATA-2 is used to describe drives that support even faster
high-speed data transfer protocols, including:

   * PIO mode 4
   * DMA mode 2


When fully optimized, Fast ATA drives are capable of burst data
transfer rates of 13.3 Mbytes per second (from the drive's buffer to
the host system). Likewise, Fast ATA-2 drives are capable of 16.6
Mbytes per second burst transfer rates.

The DRVINFO output screen shows which Fast ATA features are available
on a particular drive; it does not report on the capabilities of the
host system.

Fast ATA and Fast ATA-2 drives will work with older computers
(typically those using ISA bus technology). However, the higher
data-transfer rates cannot be used without the special BIOS features
and hardware found in more recent EISA, VL and PCI bus systems.


=======================================================================

About the Identify Drive command
--------------------------------

The Identify Drive command (command code ECh) transfers information
about the drive to the host computer.  When the command is issued, the
drive sets BSY, prepares to transfer a single 512-byte block of data,
sets DRQ, and generates an interrupt.  The host then reads the data
from the drive.  The data is organized as shown in the table below.

Out of the 256 words of drive data, words 53 to 49 and 62 to 63 are
variable, and depend on the current operating mode of the drive. All
other words are constant for a particular drive. The values of all
reserved bits or words are zero.

In the table below, an asterisk (*) indicates words for which a value
of 0000h indicates parameter not specified.

The following table is organized by word.  When more detail is
required, the bits under consideration are placed after a period.  For
example, word 49 bit 8 would be expressed as 49.8. If a range of bits
within a word is needed, a hyphen is placed between the high and low
values. For example word 49 bits 7 to 0 is written as 49.7-0.

Data returned by the ATA Identify Drive command
-----------------------------------------------

Word.Bit  Description
==========================
0.15      0 = reserved for non magnetic drives
0.14      1 = format speed tolerance gap required
0.13      1 = track offset option available
0.12      1 = data strobe offset option available
0.11      1 = rotational speed tolerance is > 0.5%
0.10      1 = disc transfer rate > 10 Mbit/sec
0.9       1 = disc transfer rate <= 10 Mbit/sec but > 5 Mbit/sec
0.8       1 = disc transfer rate <= 5 Mbit/sec
0.7       1 = removable cartridge drive
0.6       1 = fixed drive
0.5       1 = spindle motor control option implemented
0.4       1 = head switch time > 15 usec
0.3       1 = not MFM encoded
0.2       1 = soft sectored
0.1       1 = hard sectored
0.0       0 = ATA reserved (should be zero)

1         Number of user-addressable cylinders in the default
          translation mode.  When the formatted capacity of the drive
          exceeds 528 MB this field is set to 1024.

2         ATA reserved (should be zero)

3         Number of user-addressable heads in the default translation
          mode.  When the formatted capacity of the drive exceeds 528
          MB this field is set to 16.

4         Number of unformatted bytes per track

5         Number of unformatted bytes per sector

6         Number of user addressable sector in the default translation
          mode.  When the formatted capacity of the drive exceeds 528
          MB this field is set to 63.

7-9       ATA reserved (should be zero)

10-19  *  Serial number (20 ASCII characters and padded with spaces).

20     *  Buffer type.
          0000h = not specified
          0001h = a single-ported, single sector buffer which is not
                  capable of simultaneous data transfers to or from
                  the host and the disc.
          0002h = a dual ported multisector buffer capable of
                  simultaneous data transfers to or from the host and
                  the disc.
          0003h = a dual ported multisector buffer capable of
                  simultaneous transfers with a read caching
                  capability.
          0004h through FFFFh are reserved.

21     *  Buffer size in 512-byte increments

22     *  Number of ECC bytes available on read/write long commands.

23-26  *  Firmware revision (8 ASCII characters and padded with spaces
          [20h]).

27-46  *  Model number (40 ASCII characters and padded with spaces
          [20h]).

47.15-8   Seagate reserved.
47.7-0    00h = Read/Write multiple commands not implemented;
          xxh = Maximum number of sectors that can be transferred per
                interrupt on read and write multiple commands.

48        0000h = cannot perform double-word I/O
          0001h = can perform double-word I/O.  (included for
                  backwards compatible use)

49        Capabilities
49.15-13  ATA reserved (should be zero)
49.12     ATA reserved for advanced PIO mode support (should be one)
49.11     1 = IORDY supported (required for PIO modes > 2)
          0 = IORDY may be supported
49.10     1 = IORDY can be disabled
49.9      1 = LBA mode supported
49.8      1 = DMA mode supported
49.7-0    Seagate reserved.

50        ATA reserved

51.15-8   PIO data transfer cycle timing mode
51.7-0    Seagate reserved.

52.15-8   DMA data transfer cycle timing mode
52.7-0    Seagate reserved.

53.15-2   ATA reserved
53.1      1 = the fields reported in words 64 - 70 are valid
          (required for PIO modes > 2 or multiword DMA modes > 0)
          0 = the fields reported in words 64 - 70 are not valid
53.0      1 = the fields reported in words 54 - 58 are valid
          0 = the fields reported in words 54 - 58 are not valid

54        Number of current cylinders

55        Number of current heads

56        Number of current sectors per track

57        Current capacity in sectors HI-word

58        Current capacity in sectors LO-word

59.15-9   ATA reserved.
59.8      1 = Multiple sector setting is valid
59.7-0    xxh = Current setting for number of sectors that can be
          transferred per interrupt with Read/Write multiple commands

60        Total number of user addressable sectors HI-word (LBA mode
          only)

61        Total number of user addressable sectors LO-word (LBA mode
          only)

62.15-8   Single word DMA transfer mode active
62.7-0    Single word DMA transfer modes supported

63.15-8   Multiword DMA transfer mode active
63.7-0    Multiword DMA transfer modes supported

64.15-8   ATA reserved.
64.7-0    Advanced PIO transfer modes supported (bit significant
          field: 00000001 means PIO mode 3 supported, bits 7-1 are
          reserved for future use)

65        Minimum multiword DMA transfer cycle time per word in
          nanoseconds

66        Manufacturer's recommended  multiword DMA transfer cycle
          time per word in nanoseconds during a single sector host
          transfer while performing a multiple sector Read DMA or
          Write DMA command over all locations on the media under
          nominal conditions. If a host attempts to run at a faster
          cycle rate by operating at a cycle time of less than this
          value, the drive may be forced to negate DMARQ to prevent
          data corruption.  The rate at which DMARQ is negated could
          result in reduced throughput despite the faster cycle rate.

67        Minimum PIO transfer cycle time without flow control in
          nanoseconds (required for PIO modes > 2)

68        Minimum PIO transfer cycle time with IORDY flow control in
          nanoseconds (required for PIO modes > 2

69-70     ATA reserved for advanced PIO mode support

71-127    ATA reserved.

128-159   Seagate reserved.

160-255   ATA reserved.

Note: The definition of each of the Identify Drive bytes is subject to
change by the ATA review committee. Typically, once a definition is in
place it will not be changed.  Fields which are listed as "ATA
reserved" are the ones to watch for change.

===============================================================

Additional Information:
-----------------------

The following additional information and programs are available on the
Seagate Tech Support BBS (408)438-8771 and many fine and helpful BBS's
around the world:

--Specifications and jumper drawings for all Seagate Disc Drives and
  Controllers.

--Reprints of Installation Guides.

--Troubleshooting essays.

--Software:

      FINDTYPE - Utility program that displays bios drive type table
                 and matches a Seagate model to the best drive type.
                 Also prints complete specifications lists and much
                 more!

      FINDINIT - Utility for Seagate controllers and host adapters
                 that have onboard bios. Queries the system to
                 determine bios memory address and initiates low-level
                 format.

DESK REFERENCE - Hypertext data system for all Seagate products,
                 troubleshooting, other OEM phone numbers and much,
                 much more. A must for dealers who do a fair amount of
                 support for Seagate products.

SEAGATE FORMAT - A lo-level and mid-level formatting utility for AT
                 systems (286+) which supports MFM, RLL, ESDI and ATA
                 interface drives.


===============================================================
LICENSE AGREEMENT AND WARRANTY DISCLAIMER

This is a legal agreement between you the purchaser and Seagate
Technology, Inc.  By accessing DRVINFO, (the "Software"), you agree to
be bound by the terms of this agreement.  If you do not agree, do not
access the software.

Seagate provides the accompanying object code of the Software and
nonexclusively licenses its use to you on the following terms and
conditions.  The Software is Seagate's proprietary, copyrighted
product. Seagate grants you a limited access to use one copy of the
Software.  You may not copy, distribute the Software for resale.  You
may not reverse engineer, modify, rent, or lease the Software.  In
addition, you may not disclose the information or data incorporated in
the Software to others, in any format.

You accept the Software "as is" without any warranty whatsoever.
Seagate does not warrant that the Software will meet your
requirements; that the Software is fit for any particular purpose or
that the use of the Software will be error free.

SEAGATE EXPRESSLY DISCLAIMS ALL WARRANTIES, WHETHER ORAL OR WRITTEN,
EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT
WILL SEAGATE BE LIABLE TO YOU, YOUR CUSTOMERS OR OTHER USERS IN ANY
WAY BASED ON USE OF THE SOFTWARE, INCLUDING WITHOUT LIMITATION FOR ANY
LOSS OF PROFITS, LOSS OF DATA OR USE OF THE SOFTWARE OR INDIRECT,
INCIDENTAL, CONSEQUENTIAL, SPECIAL, OR EXEMPLARY DAMAGES ARISING OUT
OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE SOFTWARE.

(C) 1995 Seagate Technology, Inc. End of License Agreement.

------------------------------------------------------------------
DRVINFO.EXE: Part #705720-001
DRVINFO.TXT: Publication 36319-001, Rev. A
------------------------------------------------------------------

-=EOF: DRVINFO.TXT=-
