Changes between Version 3 and Version 4 of ioc_driver
- Timestamp:
- Oct 8, 2014, 2:21:43 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ioc_driver
v3 v4 13 13 It 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. 14 14 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() 15 Any physical block device driver xxx must provide the 5 functions defined by this generic driver. 21 16 22 17 The _ioc_read() and _ioc_write() functions are always blocking for the calling user program.