RTEMS Logo

RTEMS 4.8.0 On-Line Library


IDE Controller Driver Read IDE Controller Register

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

13.3: Read IDE Controller Register

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
}


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2007OAR Corporation