]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 278321:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Mar 2015 20:10:09 +0000 (20:10 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Mar 2015 20:10:09 +0000 (20:10 +0000)
commit8013f1283cee508327df9bcee1b45845db210d0e
tree267ec4cdb2c7062e5bb784bd634db02a83844a3e
parentbba5828d018d75b6d78936bcb79d44c14c6cb8bd
MFC 278321:
Use direct hardware access for internal requests for KCS and SMIC.  In
particular, updates to the watchdog should no longer sleep.
- Add a new IPMI_IO_LOCK for low-level I/O access.  Use this for
  kcs_polled_request() and smic_polled_request().
- Add a new backend callback "ipmi_driver_request" to handle a driver
  request.  The new callback performs the request sychronously for KCS
  and SMIC.  SSIF still defers the work to the worker thread since the
  worker thread sleeps during request processing anyway.
- Allocate driver requests on the stack rather than using malloc().

git-svn-id: svn://svn.freebsd.org/base/stable/8@279964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ipmi/ipmi.c
sys/dev/ipmi/ipmi_kcs.c
sys/dev/ipmi/ipmi_smic.c
sys/dev/ipmi/ipmi_ssif.c
sys/dev/ipmi/ipmivars.h