Sync usage with man page.
[netbsd-mini2440.git] / sys / sys / device_if.h
blob5f2745321cde8932769359506f11cbb0b69ac768
1 /* $NetBSD: device_if.h,v 1.3 2009/12/02 12:40:12 stacktic Exp $ */
3 #ifndef _SYS_DEVICE_IF_H
4 #define _SYS_DEVICE_IF_H
6 struct device;
7 typedef struct device *device_t;
9 #ifdef _KERNEL
10 typedef enum devact_level {
11 DEVACT_LEVEL_CLASS = 0
12 , DEVACT_LEVEL_DRIVER = 1
13 , DEVACT_LEVEL_BUS = 2
14 } devact_level_t;
16 #define DEVACT_LEVEL_FULL DEVACT_LEVEL_CLASS
18 struct device_lock;
19 struct device_suspensor;
21 typedef uint64_t devgen_t;
23 typedef struct device_lock *device_lock_t;
24 typedef const struct device_suspensor *device_suspensor_t;
25 #endif
27 #endif /* _SYS_DEVICE_IF_H */