#include <IOKit/ata/IOATADevConfig.h>
IOKit/ata/IOATADevConfig.h
@class IOATADevConfig
@abstract used for configuring and communicating the desired transfer modes of a device.
A disk driver would typically use this object in conjunction with the 512-bytes of identification
data from the drive and the IOATABusInfo object for the bus it is connected to.
This object will determine the best matching transfer speeds available.
the device driver will then send a series of Set Features commands to configure the drive
and this object to the bus through the IOATADevice nub in order to configure the optimum transfer mode.
The driver for the disk drive may choose to populate this object with whatever transfer mode
desired, in the event that a different mode is required.
@discussion usually use the initWithBestSelection to make a best mode match.
The Mode accessors use bit significance to indicate a selected mode or supported modes(s)
ie, 00000001b indicates Mode-0, 00000010b indicates mode 1, etc.
Selected mode is indicated by a single set bit. No bit set indicates no mode in that class is selected.
ie, a bus will support multiple possible modes, but will only have one mode selected at that time.