genode/repos/os/src/drivers/atapi
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00
..
contrib Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
ata_bus_master.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
ata_bus_master.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
ata_device.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
ata_device.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
atapi_device.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
endian.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
io.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
io.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
main.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
pio.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
target.mk Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

README

This directory contains a port of the MINDRVR PATA/SATA driver (See:
[http://ata-atapi.com].

The driver will probe the system's IDE bus and will use the first ATAPI device
present.


Usage
-----

Simply start the 'atapi_drv' in your Genode environment. The front-end
implemented by the driver is Genode's block interface (see:
'os/include/block_session').

Configuration example:

! <start name="atapi_drv">
!   <resource name="RAM" quantum="1M" />
!     <provides><service name="Block" /></provides>
! </start>

To use the driver as IDE block driver supporting both read and write
transactions, supply the XML attribute 'ata="yes"' to the config node of
'atapi_drv'.