Wed Dec 2 12:52:28 2009 UTC ()
KNF


(stacktic)
diff -r1.3 -r1.4 src/sys/sys/device_if.h

cvs diff -r1.3 -r1.4 src/sys/sys/device_if.h (expand / switch to unified diff)

--- src/sys/sys/device_if.h 2009/12/02 12:40:12 1.3
+++ src/sys/sys/device_if.h 2009/12/02 12:52:28 1.4
@@ -1,14 +1,15 @@ @@ -1,14 +1,15 @@
1/* $NetBSD: device_if.h,v 1.3 2009/12/02 12:40:12 stacktic Exp $ */ 1/* $NetBSD: device_if.h,v 1.4 2009/12/02 12:52:28 stacktic Exp $ */
 2
2#ifndef _SYS_DEVICE_IF_H 3#ifndef _SYS_DEVICE_IF_H
3#define _SYS_DEVICE_IF_H 4#define _SYS_DEVICE_IF_H
4 5
5struct device; 6struct device;
6typedef struct device *device_t; 7typedef struct device *device_t;
7 8
8#ifdef _KERNEL 9#ifdef _KERNEL
9typedef enum devact_level { 10typedef enum devact_level {
10 DEVACT_LEVEL_CLASS = 0 11 DEVACT_LEVEL_CLASS = 0
11 , DEVACT_LEVEL_DRIVER = 1 12 , DEVACT_LEVEL_DRIVER = 1
12 , DEVACT_LEVEL_BUS = 2 13 , DEVACT_LEVEL_BUS = 2
13} devact_level_t; 14} devact_level_t;
14 15