Changes between Version 3 and Version 4 of ioc_driver


Ignore:
Timestamp:
Oct 8, 2014, 2:21:43 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ioc_driver

    v3 v4  
    1313It can exist only one block-device type in the architecture, that must be defined by one of the following configuration variables in hard_config.h file: USE_IOC_BDV, USE_IOC_SDC, USE_IOC_HBA, USE_IOC_RDK.
    1414
    15 Any physical block device driver xxx must provide the following API:
    16  * _xxx_init()
    17  * _xxx_read()
    18  * _xxx_write()
    19  * _xxx_get_status()
    20  * _xxx_get_block_size()
     15Any physical block device driver xxx must provide the 5 functions defined by this generic driver.
    2116
    2217The _ioc_read() and _ioc_write() functions are always blocking for the calling user program.