BSP and Device Driver Development Guide
The ide_controller_read_data_block
provides multiple consequent read
of the IDE Controller Data Register. IDE Controller chip is selected via the
minor number. The same functionality may be achieved via separate multiple
calls of ide_controller_read_register
routine but
ide_controller_read_data_block
allows to escape functions call
overhead. This routine is not allowed to be called from an application.
void ide_controller_read_data_block(rtems_device_minor_number minor, unsigned16 block_size, blkdev_sg_buffer *bufs, rtems_unsigned32 *cbuf, rtems_unsigned32 *pos) { get IDE Controller chip configuration information from IDE_Controller_Table by minor number invoke read data block routine for the chip }
BSP and Device Driver Development Guide
Copyright © 1988-2003 OAR Corporation