Container IDs for eSATA Devices
The External Serial Advanced Technology Attachment (eSATA) bus cannot report a container ID. When the Windows operating system determines the device container grouping for an eSATA device, it relies on the removable capability that the ATA bus driver returns.
The ATA bus driver determines that the eSATA device is removable by reading the following Advanced Host Controller Interface (AHCI) register bits.
AHCI register | Byte offset | Bit location | Description |
---|---|---|---|
HBA Capabilities (CAP)) |
0x000 |
5 - Supports External SATA (SXS) |
When set to 1, this bit value indicates that the host bus adapter (HBA) has one or more SATA ports with a signal-only connector that is externally available (such as an eSATA connector). If this bit is set to 1, software can reference the PxCMD.ESP bit to determine whether a specific port has its signal connector externally available as a signal-only connector (that is, power is not part of that connector). |
Port x Command and Status (PxCMD) |
0x18 |
18 - Hot-Plug Capable Port (HPCP) |
When set to 1, this bit value indicates that the signal and power connectors for the port are externally available through a joint signal and power connector.
Note This only applies to blindmate connectors that support hot-plug capabilities.
|
Port x Command and Status (PxCMD) |
0x18 |
21 - External SATA Port (ESP) |
When set to 1, this bit value indicates that the signal connector for the port is externally available on a signal-only connector (such as an eSATA connector). Because of this, the port may experience hot-plug events. If ESP is set to 1, the PxCMD.HPCP bit must be cleared to 0 and the CAP.SXS bit must be set to 1. |
The ATA bus driver marks any device that is attached to the eSATA port as removable if one of the following is true:
The HPCP bit is set to 1, which indicates that the eSATA port is an external port that supports hot-plug operations.
The SXS and ESP bits are both set to 1, which indicates that the SATA port is an external signal-only port.
Note These conditions are mutually exclusive. An eSATA port may declare itself to be either an external hot-plug-capable port or an external signal-only port, but not both.
For more information about the SATA and eSATA interface, refer to the Serial ATA Advanced Host Controller Interface (AHCI) 1.3 specification.