BSP and Device Driver Development Guide
IDE Controller chips used by a BSP are statically configured into
IDE_Controller_Table
. The ide_controller_initialize
routine is
responsible for initialization of all configured IDE controller chips.
Initialization order of the chips based on the order the chips are defined in
the IDE_Controller_Table
.
The following actions are performed by the IDE Controller driver initialization routine:
rtems_device_driver ide_controller_initialize( rtems_device_major_number major, rtems_device_minor_number minor_arg, void *arg ) { for each IDE Controller chip configured in IDE_Controller_Table if (BSP dependent probe(if exists) AND device probe for this IDE chip indicates it is present) perform initialization of the particular chip register device with configured name for this chip }
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation