/*  digifan.h - Fan control program for the ASUS Digimatrix.
 *
 *  (C) Copyright 2006 Andrew Calkin <calkina@geexbox.org>
 *  (C) Copyright 2004 Richard Taylor <richard@artaylor.co.uk>
 *
 *  based on code for accessing/initializing it8712/it8705 written by
 *
 *  (C) Copyright 2004 Wojtek Kaniewski <wojtekka@toxygen.net>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License Version 2 as
 *  published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#define FAN_OFF                   1
#define FAN_AUTO                  2
#define FAN_INTELLIGENT           3
#define AUTO                      0x80
#define FAN_MAX_PWM               0x7f
#define OFF                       0x5 /* Not completely off, but
                                          very low speed (safety) */

#define FAN_DEFAULT_MIN           30
#define FAN_DEFAULT_GRADIENT      4
#define FAN_DEFAULT_OFFSET        30
int digifan_main(int argc, char **argv);

