summaryrefslogtreecommitdiff
path: root/sys/dev/ipmivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ipmivar.h')
-rw-r--r--sys/dev/ipmivar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ipmivar.h b/sys/dev/ipmivar.h
index 35dd85c18ba..fd57af76363 100644
--- a/sys/dev/ipmivar.h
+++ b/sys/dev/ipmivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmivar.h,v 1.22 2016/01/11 13:12:50 uebayasi Exp $ */
+/* $OpenBSD: ipmivar.h,v 1.23 2016/01/11 14:08:58 uebayasi Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -44,6 +44,7 @@
struct ipmi_thread;
struct ipmi_softc;
+struct ipmi_cmd;
struct ipmi_bmc_args{
int offset;
@@ -69,8 +70,7 @@ struct ipmi_attach_args {
struct ipmi_if {
const char *name;
int nregs;
- void *(*buildmsg)(struct ipmi_softc *, int, int, int,
- const void *, int *);
+ void *(*buildmsg)(struct ipmi_cmd *);
int (*sendmsg)(struct ipmi_softc *, int, const u_int8_t *);
int (*recvmsg)(struct ipmi_softc *, int, int *, u_int8_t *);
int (*reset)(struct ipmi_softc *);