#include <device.h>
Public Attributes | |
| char * | name |
| Driver name. | |
| char * | desc |
| Driver description. | |
| char * | author |
| Driver author. | |
| char * | license |
| Driver license. | |
| otto_device *(* | open )(const char *) |
| int(* | close )(struct otto_device *) |
| int(* | write )(struct otto_device *, int, union otto_packet *) |
| int(* | read )(struct otto_device *, int, union otto_packet *) |
| int(* | control )(struct otto_device *, int, void *, int) |
| otto_device * | dev_first |
| Pointer to list of devices open on this driver. | |
| otto_driver * | next |
| Next pointer for device list. | |
up()/down()?
|
|
Driver author.
|
|
|
|
|
|
|
|
|
Driver description.
|
|
|
Pointer to list of devices open on this driver.
|
|
|
Driver license.
|
|
|
Driver name.
|
|
|
Next pointer for device list.
|
|
|
|
|
|
|
|
|
|
1.3.7