summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/amd64/conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c
index d69887b3061..a10a2b786cb 100644
--- a/sys/arch/amd64/amd64/conf.c
+++ b/sys/arch/amd64/amd64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.55 2016/01/27 09:04:19 reyk Exp $ */
+/* $OpenBSD: conf.c,v 1.56 2016/02/05 06:29:01 uebayasi Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -183,6 +183,7 @@ cdev_decl(pci);
#include "pppx.h"
#include "fuse.h"
#include "pvbus.h"
+#include "ipmi.h"
struct cdevsw cdevsw[] =
{
@@ -294,6 +295,7 @@ struct cdevsw cdevsw[] =
cdev_tun_init(NTUN,tap), /* 93: Ethernet network tunnel */
cdev_tty_init(NVIOCON,viocon), /* 94: virtio console */
cdev_pvbus_init(NPVBUS,pvbus), /* 95: pvbus(4) control interface */
+ cdev_ipmi_init(NIPMI,ipmi), /* 96: ipmi */
};
int nchrdev = nitems(cdevsw);