fa7d0f0b1e
FreeIPMI is a collection of Intelligent Platform Management IPMI system software. It provides in-band and out-of-band software and a development library conforming to the Intelligent Platform Management Interface (IPMI v1.5 and v2.0) standards.
13 lines
676 B
Plaintext
13 lines
676 B
Plaintext
$OpenBSD: patch-libfreeipmi_src_ipmi-openipmi-api_c,v 1.1.1.1 2007/10/25 18:17:02 wilfried Exp $
|
|
--- libfreeipmi/src/ipmi-openipmi-api.c.orig Sat Jun 2 20:18:29 2007
|
|
+++ libfreeipmi/src/ipmi-openipmi-api.c Tue Oct 23 16:37:57 2007
|
|
@@ -107,7 +107,7 @@ struct ipmi_recv
|
|
#define IPMI_IOC_MAGIC 'i'
|
|
#define IPMICTL_RECEIVE_MSG_TRUNC _IOWR(IPMI_IOC_MAGIC, 11, struct ipmi_recv)
|
|
#define IPMICTL_RECEIVE_MSG _IOWR(IPMI_IOC_MAGIC, 12, struct ipmi_recv)
|
|
-#if defined(__FreeBSD__)
|
|
+#ifndef __LINUX__
|
|
#define IPMICTL_SEND_COMMAND _IOW(IPMI_IOC_MAGIC, 13, struct ipmi_req)
|
|
#define IPMICTL_SET_MY_ADDRESS_CMD _IOW(IPMI_IOC_MAGIC, 17, unsigned int)
|
|
#else
|