RTEMS Logo

RTEMS 4.10.2 On-Line Library


IDE Controller Driver Write IDE Controller Register

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

13.4: Write IDE Controller Register

The ide_controller_write_register routine writes IDE Controller chip register with specified value. IDE Controller chip is selected via the minor number. This routine is not allowed to be called from an application.

void ide_controller_write_register(rtems_device_minor_number minor,
                                   unsigned32 reg, unsigned32 value)
{
  get IDE Controller chip configuration information from
  IDE_Controller_Table by minor number

  invoke write register routine for the chip
}


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2008 OAR Corporation