genode/repos/os/src/drivers/ahci
Alexander Boettcher 46a7b2ea66 ahci: disable atapi support by default
If needed it has to be enabled explicitly as documented in the README.

Related to issue #1906
2016-05-26 15:54:17 +02:00
..
spec x86: support dynamic upgrades for platform driver 2015-11-29 18:17:02 +01:00
ahci.cc ahci: disable atapi support by default 2016-05-26 15:54:17 +02:00
ahci.h ahci: disable atapi support by default 2016-05-26 15:54:17 +02:00
ata_driver.h ahci: routing policies based on device serial/model 2016-03-07 12:34:43 +01:00
atapi_driver.h ahci: new AHCI driver implementation 2015-05-20 17:52:58 +02:00
main.cc ahci: disable atapi support by default 2016-05-26 15:54:17 +02:00
README ahci: disable atapi support by default 2016-05-26 15:54:17 +02:00
target.mk ahci: new AHCI driver implementation 2015-05-20 17:52:58 +02:00

This directory contains the implementation of Genode's AHCI driver

Behavior
--------

The driver supports x86 32/64 bit platforms and the Exynos5 SOC. If
more than one AHCI controller is present, the first one will be used.
Each active device on each AHCI port will be represented by a Genode
block session. The server must be configured via a policy, that states
which client can access a certain device:


!<start name="ahci">
!  <binary name="ahci_drv" />
!  <resource name="RAM" quantum="10M" />
!  <provides><service name="Block" /></provides> }
!  <route>
!    <any-service> <parent /> <any-child /> </any-service>
!  </route>
!  <config atapi="no">
!    <!-- use model and serial number -->
!    <policy label="test-ahci" model="QEMU HARDDISK" serial="QM00005" />
!    <!-- use controller port number -->
!    <policy label="bench" device="1" />
!  </config>
!</start>

In the example above, a session request labeled with "test-ahci" gains access to
a device with certain model and serial numbers, while "bench" gains access to
device at port 1. ATAPI support is by default disabled and can be enabled by
setting the config attribute "atapi" to "yes".