Changes between Version 4 and Version 5 of ioc_driver
- Timestamp:
- Oct 15, 2014, 10:49:32 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ioc_driver
v4 v5 6 6 7 7 This abstact driver define a generic API, supporting various physical disks or virtual disks controlers: 8 * vci_block_device : single channel physical disk with DMA capacity=> bdv_driver8 * vci_block_device : single channel physical disk => bdv_driver 9 9 * vci_ahci : multi channels physical disk => hba_driver 10 10 * sd_card : single channel physical SD card => sdc_driver … … 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 xxxmust provide the 5 functions defined by this generic driver.15 Any disk driver must provide the 5 functions defined by this generic driver. 16 16 17 17 The _ioc_read() and _ioc_write() functions are always blocking for the calling user program.