control.c File Reference

Implements the functions: control. More...

#include <stddef.h>
#include <device.h>

Include dependency graph for control.c:

Go to the source code of this file.

Functions

devcall control (int descrp, int func, long arg1, long arg2)
 control a device (e.g., set the mode)


Detailed Description

Implements the functions: control.

Id
control.c 1529 2008-09-05 16:32:25Z amallen

Definition in file control.c.


Function Documentation

devcall control ( int  descrp,
int  func,
long  arg1,
long  arg2 
)

control a device (e.g., set the mode)

Parameters:
descrp definition of device to control
func specific control function for device
arg1 specific argument for func
arg2 specific argument for func
Returns:
function to control device on success, SYSERR on failure

Definition at line 20 of file control.c.

References isbaddev, and SYSERR.

Referenced by etherWrite(), shell(), and test_ttydriver().

Here is the caller graph for this function:


Generated on Fri Sep 19 13:40:29 2008 for Embedded XINU by  doxygen 1.5.6