diff options
author | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2016-01-12 10:44:33 +0000 |
---|---|---|
committer | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2016-01-12 10:44:33 +0000 |
commit | 0dd1a4bcabf03e4a229afcee1ba6e40950a93182 (patch) | |
tree | ef0be4469c32ee348e8ea69c3e91f3c3bb91f0de /sys/dev/ipmivar.h | |
parent | 0b4ec507d9fe71f6738a00a04daf84423ab159c2 (diff) |
Use task to execute command except polling context.
Diffstat (limited to 'sys/dev/ipmivar.h')
-rw-r--r-- | sys/dev/ipmivar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ipmivar.h b/sys/dev/ipmivar.h index 04b7126fd8f..0e2bc938129 100644 --- a/sys/dev/ipmivar.h +++ b/sys/dev/ipmivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmivar.h,v 1.26 2016/01/12 09:11:59 uebayasi Exp $ */ +/* $OpenBSD: ipmivar.h,v 1.27 2016/01/12 10:44:32 uebayasi Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -112,6 +112,8 @@ struct ipmi_softc { int sc_btseq; u_int8_t sc_buf[IPMI_MAX_RX + 16]; struct ipmi_cmd *sc_cmd; + struct taskq *sc_cmd_taskq; + struct mutex sc_cmd_mtx; int sc_wdog_period; struct task sc_wdog_tickle_task; |