genode/os/src/drivers/atapi
2011-12-22 16:19:25 +01:00
..
contrib Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
ata_bus_master.cc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
ata_bus_master.h Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
ata_device.cc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
ata_device.h Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
atapi_device.cc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
endian.h Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
io.cc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
io.h Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
main.cc Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
pio.h Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
README Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
target.mk Imported Genode release 11.11 2011-12-22 16:19:25 +01:00

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'.