| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: dbcool_var.h,v 1.12 2010/04/10 19:02:39 pgoyette Exp $ */ | | 1 | /* $NetBSD: dbcool_var.h,v 1.13 2011/03/11 17:12:43 pgoyette Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 2008 The NetBSD Foundation, Inc. | | 4 | * Copyright (c) 2008 The NetBSD Foundation, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to The NetBSD Foundation | | 7 | * This code is derived from software contributed to The NetBSD Foundation |
8 | * by Paul Goyette | | 8 | * by Paul Goyette |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -26,32 +26,32 @@ | | | @@ -26,32 +26,32 @@ |
26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
29 | * POSSIBILITY OF SUCH DAMAGE. | | 29 | * POSSIBILITY OF SUCH DAMAGE. |
30 | */ | | 30 | */ |
31 | | | 31 | |
32 | /* | | 32 | /* |
33 | * A driver for dbCool(tm) family of environmental controllers | | 33 | * A driver for dbCool(tm) family of environmental controllers |
34 | */ | | 34 | */ |
35 | | | 35 | |
36 | #ifndef DBCOOLVAR_H | | 36 | #ifndef DBCOOLVAR_H |
37 | #define DBCOOLVAR_H | | 37 | #define DBCOOLVAR_H |
38 | | | 38 | |
39 | /* | | 39 | #ifdef DEBUG |
40 | #define DBCOOL_DEBUG | | 40 | #define DBCOOL_DEBUG |
41 | */ | | 41 | #endif |
42 | | | 42 | |
43 | #include <sys/cdefs.h> | | 43 | #include <sys/cdefs.h> |
44 | __KERNEL_RCSID(0, "$NetBSD: dbcool_var.h,v 1.12 2010/04/10 19:02:39 pgoyette Exp $"); | | 44 | __KERNEL_RCSID(0, "$NetBSD: dbcool_var.h,v 1.13 2011/03/11 17:12:43 pgoyette Exp $"); |
45 | | | 45 | |
46 | #include <dev/i2c/i2cvar.h> | | 46 | #include <dev/i2c/i2cvar.h> |
47 | | | 47 | |
48 | #include <dev/sysmon/sysmonvar.h> | | 48 | #include <dev/sysmon/sysmonvar.h> |
49 | | | 49 | |
50 | #include <dev/i2c/dbcool_reg.h> | | 50 | #include <dev/i2c/dbcool_reg.h> |
51 | | | 51 | |
52 | enum dbc_pwm_params { | | 52 | enum dbc_pwm_params { |
53 | DBC_PWM_BEHAVIOR = 0, | | 53 | DBC_PWM_BEHAVIOR = 0, |
54 | DBC_PWM_MIN_DUTY, | | 54 | DBC_PWM_MIN_DUTY, |
55 | DBC_PWM_MAX_DUTY, | | 55 | DBC_PWM_MAX_DUTY, |
56 | DBC_PWM_CUR_DUTY, | | 56 | DBC_PWM_CUR_DUTY, |
57 | DBC_PWM_LAST_PARAM | | 57 | DBC_PWM_LAST_PARAM |