BSP and Device Driver Development Guide
The ide_controller_read_register
routine reads the content of the IDE
Controller chip register. IDE Controller chip is selected via the minor
number. This routine is not allowed to be called from an application.
void ide_controller_read_register(rtems_device_minor_number minor, unsigned32 reg, unsigned32 *value) { get IDE Controller chip configuration information from IDE_Controller_Table by minor number invoke read register routine for the chip }
BSP and Device Driver Development Guide
Copyright © 1988-2007OAR Corporation