FreeBSD/sys/dev/ipmi/ipmi.c
/* Default implementation of ipmi_enqueue_request() for polled interfaces. */
Default implementation of ipmi_enqueue_request() for polled interfaces.
Default implementation of ipmi_enqueue_request () for polled interfaces .
int
ipmi_polled_enqueue_request(struct ipmi_softc *sc, struct ipmi_request *req)
{
	IPMI_LOCK_ASSERT(sc);
	TAILQ_INSERT_TAIL(&sc->ipmi_pending_requests, req, ir_link);
	cv_signal(&sc->ipmi_request_added);
	return (0);
}
int ipmi_polled_enqueue_request ( struct ipmi_softc * sc , struct ipmi_request * req ) { IPMI_LOCK_ASSERT ( sc ) ; TAILQ_INSERT_TAIL ( & sc -> ipmi_pending_requests , req , ir_link ) ; cv_signal ( & sc -> ipmi_request_added ) ; return ( 0 ) ; }
Default implementation of ipmi_enqueue_request() for polled interfaces.
Default implementation of ipmi_enqueue_request () for polled interfaces .