BSP and Device Driver Development Guide
The ide_controller_write_data_block
provides multiple consequent write
into 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_write_register
routine but
ide_controller_write_data_block
allows to escape functions call
overhead. This routine is not allowed to be called from an application.
void ide_controller_write_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 write data block routine for the chip }
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation