Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58093
Collapse All | Expand All

(-)i8k.h.orig (-8 / +8 lines)
Lines 20-33 Link Here
20
#define I8K_PROC		"/proc/i8k"
20
#define I8K_PROC		"/proc/i8k"
21
#define I8K_PROC_FMT		"1.0"
21
#define I8K_PROC_FMT		"1.0"
22
22
23
#define I8K_BIOS_VERSION	_IOR ('i', 0x80, 4)
23
#define I8K_BIOS_VERSION	_IOR ('i', 0x80, int)	/* broken: meant 4 bytes */
24
#define I8K_MACHINE_ID		_IOR ('i', 0x81, 16)
24
#define I8K_MACHINE_ID		_IOR ('i', 0x81, int)	/* broken: meant 16 bytes */
25
#define I8K_POWER_STATUS	_IOR ('i', 0x82, sizeof(int))
25
#define I8K_POWER_STATUS	_IOR ('i', 0x82, size_t)
26
#define I8K_FN_STATUS		_IOR ('i', 0x83, sizeof(int))
26
#define I8K_FN_STATUS		_IOR ('i', 0x83, size_t)
27
#define I8K_GET_TEMP		_IOR ('i', 0x84, sizeof(int))
27
#define I8K_GET_TEMP		_IOR ('i', 0x84, size_t)
28
#define I8K_GET_SPEED		_IOWR('i', 0x85, sizeof(int))
28
#define I8K_GET_SPEED		_IOWR('i', 0x85, size_t)
29
#define I8K_GET_FAN		_IOWR('i', 0x86, sizeof(int))
29
#define I8K_GET_FAN		_IOWR('i', 0x86, size_t)
30
#define I8K_SET_FAN		_IOWR('i', 0x87, sizeof(int)*2)
30
#define I8K_SET_FAN		_IOWR('i', 0x87, size_t)
31
31
32
#define I8K_FAN_LEFT		1
32
#define I8K_FAN_LEFT		1
33
#define I8K_FAN_RIGHT		0
33
#define I8K_FAN_RIGHT		0

Return to bug 58093