mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-07 11:50:24 +00:00
This patch moves the AHCI driver from the 'drivers -> dynamic' subsystem to the runtime, managed by the sculpt_manager. One implication of this change is the new need to supplement a device port number to the 'Storage_target', in addition to the existing label and partition. Previously, each block device was addressed by merely a label specified for a parent session. The meanings of the 'Storage_target' elements are now as follows. - The label corresponds to the driver component providing the storage. - The port is used as block-session label when opening the session at the driver. - The partition(s) denote the partition information contained in the block session. Components operating as clients of the AHCI driver (e.g., a file system) refer to their storage target as <label>-<port>.<partition> when a port is defined (for AHCI). For drivers w/o ports, like USB storage where each USB-block driver correponds to only one device, the storage target is denoted as <label>.<partition>. When no partition table is present, the '.<partition>' part is omitted. Issue #5150