NAME
|
sdahci – AHCI (Advanced Host Controller Interface) SATA (Serial
ATA) storage device driver |
SYNOPSIS
|
bind –a #S /dev /dev/sdctl /dev/sdEn/ctl /dev/sdEn/raw /dev/sdEn/data ... |
DESCRIPTION
|
The sdahci driver provides access to AHCI devices via the sd(3)
interface. The AHCI programming interface supports up to 32 hot–swappable
SATA disks or ATAPI devices per controller. Controllers are detected
automatically and drive letters are assigned from E onward. Intel
controllers need to have AHCI enabled in
the BIOS. For ich parts this typically means enabling enhanced
mode and AHCI. For ESB (Enterprise South Bridge) –based parts,
only enhanced mode needs to be enabled.
The top level control file, sdctl, supports the following control
messages for AHCI controllers. They toggle flags and unless otherwise
mentioned, the default is `off'.
The device–level ctl file supports:
|
SOURCE
|
/sys/src/9/pc/sdahci.c |
SEE ALSO
|
sd(3) http://www.lttconn.com/res/lttconn/pdres/201005/20100521170123066.pdf, the SATA spec. https://www.intel.com/content/dam/www/public/us/en/documents/\ technical–specifications/serial–ata–ahci–spec–rev1_3.pdf, the AHCI spec. http://www.t13.org/Documents/UploadedDocuments/docs2013/\ d2161r5–ATAATAPI_Command_Set_–_3.pdf, ANSI T13 ATA8–ACS, mainly for SMART. |
BUGS
|
None of enclosure management, LED control and port multipliers
are supported. Intel ich9–based AHCI does not support hot swapping, and each drive must be connected to the lowest–numbered free port.
ATAPI devices may not be reset when they have outstanding commands. |