#include <kernel.h>#include <device.h>

Go to the source code of this file.
Functions | |
| devcall | control (ushort descrp, ushort func, long arg1, long arg2) |
Definition in file control.c.
control - control a device (e.g., set the mode)
| descrp | definition of device to control | |
| func | specific control function for device | |
| arg1 | specific argument for func | |
| arg2 | specific argument for func |
Definition at line 20 of file control.c.
References dentry::control, devtab, isbaddev, and SYSERR.
1.5.5