/* $Id: k10s_kstats.h 755 2012-06-25 06:15:47Z elkner $ */
#ifndef K10S_KSTATS_H
#define K10S_KSTATS_H
#include "k10sensor.h"
#ifdef __cplusplus
extern "C" {
#endif
/* named index into (k10sensor_t.ksp_info)->ks_data */
typedef enum {
#ifdef _KERNEL
/* per instance data */
typedef struct k10sensor {
/* info for the device this driver instance is attached to */
/* handle to the related PCI device */
/* collection of CPU chip related parameters, which are usually required to
* obtain other chip related infos and have mostly a static nature */
cpu_vars_t v[1];
/* cpu_vars_t as kstats */
/* temperature values as kstats */
} k10sensor_t;
void k10s_kstat_create(k10sensor_t *);
void k10s_kstat_destroy(k10sensor_t *);
#endif
#ifdef __cplusplus
}
#endif
#endif