Go to the source code of this file.
Data Structures | |
| struct | ddconf |
| This structure is used to set up a DDI driver. More... | |
| struct | ddi_device |
| The DDI device control block. More... | |
| struct | ddi_proto |
| This structure is used to set up networking protocols. More... | |
| struct | iflink |
| This structure is used to link a STREAMS interface. More... | |
Defines | |
| #define | DDI_FREADY 0x10000000 |
| DDI control block flags. device is initialized. | |
| #define | DDI_FPRESENT 0x20000000 |
| device hardware is present | |
| #define | DDI_FBLKDEV 0x00000001 |
| device has a BLK spec. file | |
| #define | DDI_FCHRDEV 0x00000002 |
| device has a CHR spec. file | |
| #define | DDI_MAXNAME 16 |
| Various constants. length of a DDI ID string. | |
| #define | DDIOCSDBG 0x9000 |
| DDI control requests. set DDI debug level. | |
| #define | DDIOCGNAME 0x9001 |
| get DDI ID name | |
| #define | DDIOCGCONF 0x9002 |
| get DDI HW config | |
| #define | DDIOCSCONF 0x9003 |
| set DDI HW config | |
Functions | |
| void | ddi_init (void) |
| DDI global functions. | |
| ddi_device * | ddi_map (const char *id) |
| #define DDI_FREADY 0x10000000 |
DDI control block flags. device is initialized.
ddi.h Define the structure for linking in I/O drivers into the operating system kernel. This method is currently only used by NET layer drivers, but it will be expanded into a link methos for ALL kernel-resident device drivers.
Version: @(#)ddi.h 1.0.2 04/22/93
Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
| #define DDI_MAXNAME 16 |
| #define DDIOCSDBG 0x9000 |
| void ddi_init | ( | void | ) |
DDI global functions.
| struct ddi_device* ddi_map | ( | const char * | id | ) |
1.4.6-5