device_open()
rtems_libio_t *iop, const char *pathname, unsigned32 flag, unsigned32 mode
deviceio.c
This routine will use the file control block to locate the node structure for the device.
It will extract the major and minor device numbers from the jnode
.
The major and minor device numbers will be used to make a rtems_io_open() function call to open the device driver. An argument list is sent to the driver that contains the file control block, flags and mode information.
Copyright © 1988-2004 OAR Corporation