[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding device drivers to RTEMS
- Date: Thu, 28 Jun 2007 11:23:10 +0200
- From: hwulf at et-inf.fho-emden.de (hwulf at et-inf.fho-emden.de)
- Subject: Adding device drivers to RTEMS
Hi there,
I try to understand the RTEMS IO manager interface.
Am I right that the rtems_device_major_number is the
index of the rtems_driver_address_table Device_drivers[]
to the appropriate driver functions?
So if I have the following Device_drivers[] array,
I could assume '1' for the major number of the
sound driver?
rtems_driver_address_table Device_drivers[] = {
CONSOLE_DRIVER_TABLE_ENTRY,
SOUND_DRIVER_TABLE_ENTRY,
{ NULL, NULL, NULL, NULL, NULL, NULL }
};
Kind regards,
Hank