# Sample/Information file:

# This file is for tape device vendors to specify values specific to
# their drives.

# The tape device vendor is to supply the values of the required keys
# and any optional keys, and to test the device to NetApp's criteria.
# Once Netapp has formally approved the configuration file, the device
# can be placed into service on a NetApp system.

# If you require a device currently unsupported by NetApp, please
# contact your NetApp customer service representative.

# NetApp may only support devices that have completed NetApp's internal
# qualification testing.

# Number of dynamic qualified tape models is limited to 10.
# Number of files in the tape_config directory is limited to 64.

# Lines are limited to 80 characters or fewer.
# Leading whitespace is skipped.
# Any line with a '#' character as first character is a comment.
# Comments cannot be embedded with entries.
# Blank lines (or lines containing just whitespace) are ignored.
# Keys may not be duplicated within one file

# The following keys are required:

# vendor_id=           (string, limit of 8 bytes)
# product_id=          (string, limited of 16 bytes)
# id_match_size=       (decimal len of match for product id)
# product_pretty=      (string, limit 16 bytes)
# [lmha]_description=  (string, limit 24 bytes)
# [lmha]_{density,algorithm}=0x (hex codes)

# The following keys are optional:

# autoload=             ("yes"/"no",default is "no")
# Note: autoload refers to a drive's ability to ready a cartridge
# without the need for the execution of a SCSI start/stop command.

# cmd_timeout_0x        (number in millisec, sec, min..default are sec)
#
#
# All entries take the form of key=value, with no white spaces
# unless it is in between quotes, denoting space in a string.
#
# String values are in double-quotes, and match size is in decimal.
# Density and alogrithm values are in hex, 0x prefix is part of the key.
# Timeout values are in decimal with an additional character.
# 5m -- 5 minutes
# 200 -- 200 seconds
# 6000ms -- 6000 milliseconds


# Illustration of Sample file:

# vendor_id="TAPECO"
# product_id="TAPEDRIVE2001"
# id_match_size=11

# vendor_pretty="Tape Company"
# product_pretty="Tape Drive 2001"

# l_description="2 GB"
# l_density=0x01
# l_algorithm=0x81

# m_description="4 GB (compression)"
# m_density=0x01
# m_algorithm=0x82

# h_description="6 GB"
# h_density=0x10
# h_algorithm=0x88

# a_description="12 GB (compression)"
# a_density=0x10
# a_algorithm=0x89

# cmd_timeout_0x01=5m
# cmd_timeout_0x12=7000ms
# cmd_timeout_0x1b=60s

# Note: "#" should be absent from lines containing key=value.


# Note: It's recommended that timeout values not be specified.
#       in the configuration file due to the high risk of
#       not specifying a proper timeout value. But if command
#       timeout values are used, make note of the default timeout
#       values, listed below, being used by the tape driver.

# scsi command name     scsi_opcode (hex)     time-out value

  # test unit ready        0x00                  30 sec
  # rewind                 0x01                  60 min
  # read                   0x08                   5 min
  # write                  0x0A                  18 min
  # write filemarks        0x10                   9 min
  # space                  0x11                  60 min
  # inquiry                0x12                  10 sec
  # mode select            0x15                  10 sec
  # erase                  0x19                 180 min
  # mode sense             0x1A                  10 sec
  # load/unload            0x1B                   5 min
  # report luns            0xA0                  10 sec
  # read position          0x34                  10 sec
# Quantum SDLT-320 Configuration File

vendor_id="QUANTUM" 
product_id="SDLT320" 
id_match_size=7 

vendor_pretty="Quantum" 
product_pretty="Model SDLT320" 

l_description="98250bpi 80 GB DLTIV cmp" 
l_density=0x89 
l_algorithm=0x10 

m_description="133Kbpi 200 GB SDLT  cmp"
m_density=0x48 
m_algorithm=0x10 

h_description="190Kbpi 160 GB SDLT     " 
h_density=0x49 
h_algorithm=0x0 

a_description="190Kbpi 320 GB SDLT  cmp" 
a_density=0x49 
a_algorithm=0x10 

autoload="yes"