summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2016-02-05 06:29:02 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2016-02-05 06:29:02 +0000
commit301f453b1544dd088417106b104584704927713d (patch)
treedce6673ee496ceef8e27e590f28a1df8db1f75dc /sys/arch/i386
parent36c6b15245925ced646fdc8d2bf1972e10e38847 (diff)
Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4)
Initial help & testing by jmatthew@ Code review & input by mpi@ Final review & OK by jsg@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 668e13724a5..03e2298e12c 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.152 2016/01/27 09:04:19 reyk Exp $ */
+/* $OpenBSD: conf.c,v 1.153 2016/02/05 06:29:01 uebayasi Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -177,6 +177,7 @@ cdev_decl(pci);
#include "pppx.h"
#include "fuse.h"
#include "pvbus.h"
+#include "ipmi.h"
struct cdevsw cdevsw[] =
{
@@ -288,6 +289,7 @@ struct cdevsw cdevsw[] =
cdev_fuse_init(NFUSE,fuse), /* 93: fuse */
cdev_tun_init(NTUN,tap), /* 94: Ethernet network tunnel */
cdev_pvbus_init(NPVBUS,pvbus), /* 95: pvbus(4) control interface */
+ cdev_ipmi_init(NIPMI,ipmi), /* 96: ipmi */
};
int nchrdev = nitems(cdevsw);