root/lm-sensors/trunk/prog/dump/util.h

Revision 5962, 0.5 KB (checked in by khali, 10 months ago)

isaset: Add support for word (16-bit) and long (32-bit) writes

Sometimes the hardware expects 16-bit or 32-bit writes rather than byte
writes. Add support to isaset so that the user can ask for such writes.

Line 
1/*
2    util - helper functions
3    Copyright (C) 2006 Jean Delvare <khali@linux-fr.org>
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9*/
10
11#ifndef _UTIL_H
12#define _UTIL_H
13
14extern int user_ack(int def);
15extern unsigned long inx(int addr, int width);
16extern void outx(unsigned long value, int addr, int width);
17
18#endif /* _UTIL_H */
Note: See TracBrowser for help on using the browser.