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
7 typedef struct device
*device_t
;
10 typedef enum devact_level
{
11 DEVACT_LEVEL_CLASS
= 0
12 , DEVACT_LEVEL_DRIVER
= 1
13 , DEVACT_LEVEL_BUS
= 2
16 #define DEVACT_LEVEL_FULL DEVACT_LEVEL_CLASS
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
;
27 #endif /* _SYS_DEVICE_IF_H */