man Pages(7): Device Network Interfaces
  Search only this book
Download this book in PDF

NAME

ata - AT attachment disk driver

SYNOPSIS

ata@1,ioaddr

DESCRIPTION

The ata driver supports disk and CD-ROM interfaces conforming to the AT Attachment specification including IDE interfaces. It excludes the MFM, RLL, ST506, and ST412 interfaces. Support is provided for CD_ROM drives that conform to the Small Form Factor (SFF) ATA Packet Interface (ATAPI) specification: SFF-8020 revision 1.2.

CONFIGURATION

The driver initializes itself in accordance with the information found in the configuration file ata.conf (see below). The only user configurable items in this file are:
drive0_block_factor
drive1_block_factor
ATA controllers support some amount of buffering (blocking). The purpose is to interrupt the host when an entire buffer full of data has been read or written instead of using an interrupt for each sector. This reduces interrupt overhead and significantly increases throughput. The driver interrogates the controller to find the buffer size. Some controllers hang when buffering is used, so the values in the configuration file are used by the driver to reduce the effect of buffering (blocking). The values presented may be chosen from 0x1 ,0x2 ,0x4 ,0x8 and 0x10 .
The values as shipped are set to 0x1 ,and they can be tuned to increase performance.
If your controller hangs when attempting to use higher block factors, you may be unable to reboot the system. For x86 based systems, it is recommended that the tuning be carried out using a duplicate of the /platform/i86pc/kernel directory subtree. This will ensure that a bootable kernel subtree exists in the event of a failed test.
max_transfer
This value controls the size of individual requests for consecutive disk sectors. The value may range from 0x1 to 0x100 . Higher values yield higher throughput. The system is shipped with a value of 0x100 ,which probably should not be changed.

EXAMPLES

The following is an example of an ata.conf configuration file.
# for higher performance - set block factor to 16
        drive0_block_factor=0x1 drive1_block_factor=0x1
        max_transfer=0x100
        flow_control="dmult" queue="qsort" disk="dadk" ;

x86 FILES

/platform/i86pc/kernel/drv/ata
The device file.
/platform/i86pc/kernel/drv/ata.conf
The configuration file.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPEATTRIBUTE VALUE
Architecturex86

SEE ALSO

attributes(5), aha(7D), cmdk(7D), dpt(7D), eha(7D)