Configures the generic data link control (GDLC) device manager.
#include <sys/uio.h> #include <sys/device.h>
int dlcconfig (devno, op, uiop) dev_t devno; int op; struct uio *uiop;
Note: The dlc prefix is replaced with the three-digit prefix for the specific GDLC device manager being configured.
The dlcconfig entry point is called during the kernel startup procedures to initialize the GDLC device manager with its device information. The operating system also calls this routine when the GDLC is being terminated or queried for vital product data.
The following return values are defined in the /usr/include/sys/errno.h file:
0 | Indicates a successful operation. |
EINVAL | Indicates an invalid value. |
ENODEV | Indicates that no such device handler is present. |
EFAULT | Indicates that a kernel service, such as the uiomove or devswadd kernel service, has failed. |
Each GDLC supports the dlcconfig entry point as its switch table entry for the sysconfig subroutine. The file system calls this entry point from the process environment only.
The ddconfig device entry point.
The uiomove kernel service.
Generic Data Link Control (GDLC) Environment Overview in AIX Version 4.3 Communications Programming Concepts.