Add support for FreeBSD OpenIPMI-compatible driver

This commit is contained in:
Duncan Laurie 2006-03-19 18:40:48 +00:00
parent 56c495455c
commit e2cc94d96b
3 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,7 @@ version 1.8.7
* Support IPMIv2 SOL on older Intel boxes
* Display message and exit if keepalive fails during SOL
* Add support for setting VLAN id and priority
* Add support for FreeBSD OpenIPMI-compatible driver
version 1.8.6
* Fix memory corruption when sending encrypted SOL traffic

View File

@ -192,7 +192,10 @@ AC_ARG_WITH([kerneldir],
AC_CHECK_HEADER([linux/ipmi.h],
[AC_DEFINE(HAVE_OPENIPMI_H, [1],
[Define to 1 if you have the <linux/ipmi.h> header file.])],
[echo "** Unable to find OpenIPMI header files. Using internal version."])
[AC_CHECK_HEADER([sys/ipmi.h],
[AC_DEFINE(HAVE_FREEBSD_IPMI_H, [1],
[Define to 1 if you have the <sys/ipmi.h> header file.])],
[echo "** Unable to find OpenIPMI header files. Using internal version."])])
dnl set RPM distro tag for use in RPM name
AC_ARG_WITH([rpm-distro],

View File

@ -47,9 +47,12 @@
#include <config.h>
#ifdef HAVE_OPENIPMI_H
#if defined(HAVE_OPENIPMI_H)
# include <linux/compiler.h>
# include <linux/ipmi.h>
#elif defined(HAVE_FREEBSD_IPMI_H)
/* FreeBSD OpenIPMI-compatible header */
# include <sys/ipmi.h>
#else
# include "open.h"
#endif