Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Initial Version and Version 3 of Ticket #415

2012-02-25T14:30:12Z (8 years ago)
Jakub Jermář


  • Ticket #415

    • Property Keywords gsoc12 added
    • Property Type changed from defect to enhancement
    • Property Milestone changed from 0.5.0 to
  • Ticket #415 – Description

    initial v3  
     1Convert the current HelenOS ```ata_bd``` service into a full-fledged DDF driver and implement some of the missing features.
     3 Details::
     4  The current ```ata_bd``` driver is in fact a service spawned by the user when he/she needs to use the ATA block devices. The driver can handle ATA disks and ATAPI CD-ROMs. It supports CHS, 28-bit and 48-bit LBA addressing and only uses PIO transfers. There is no support for DMA, the PACKET feature set or any other fancy features such as S.M.A.R.T, removable devices, etc. The driver services a single controller which can have up to two disks attached. The current driver is ISA-based.
     6  The goal of this ticket is to use the old driver as an inspiration / foundation for the new driver, which should be implemented as a new driver process using the HelenOS Device Driver Framework (DDF). The new driver should be at least equally capable as the old one and could be perhaps further enhanced to support e.g. PCI and DMA. By virtue of being a DDF driver, there will be no limit on the number of supported controllers as all controllers will be discovered automatically and paired with the driver by DDF.
     8 What Gains and Benefits will this bring?::
     9  We have been gradually replacing our limited legacy drivers with a new class of drivers that use our new Device Driver Framework. This brings us a whole set of benefits, among which are automatic device discovery and configuration, and a unifying approach to writing device drivers. While we already have a non-DDF ATA driver, it makes a very good sense to convert it to use DDF too. The ATA block devices are still very common, especially in virtual environments and on older hardware.
     11 Difficulty::
     12  medium
     14 Required skills::
     15  A successful applicant will have good skills of programming in the C language and the ability to learn and use HelenOS-specific I/O functions.
     17 Documentation::
     19 * [wiki:DeveloperDocs#Peripherals]
     20 * [wiki:DeviceDrivers Writing Device Drivers for HelenOS]
     22 Possible mentors::
     23 HelenOS Core Team, Jiri Svoboda