Allocates and deallocates a channel for the token-ring device handler.
#include <sys/device.h> #include <sys/comio.h> #include <sys/tokuser.h>
int tokmpx (devno, chanp, channame) dev_t devno; int *chanp; char *channame;
The tokmpx entry point is not called directly by a user of the token-ring device handler. The kernel calls the tokmpx entry point in response to an open or close request.
If the token-ring device has been successfully opened, any Diagnostic-mode open request is unsuccessful.
The tokmpx entry point can be called from the process environment only.
EBUSY | Indicates the device was already open in Diagnostic mode and the open request was denied. |
ENOMSG | Indicates an error occurred. |
ENXIO | Indicates the specified minor number is not valid. |
ENOSPC | Indicates the maximum number of opens has been exceeded. |
The tokmpx entry point functions with a Token-Ring High Performance Network Adapter that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.
The ddmpx entry point, tokclose entry point, tokopen entry point.
The ddclose Communications PDH entry point, ddopen Communications PDH entry point.