コード例 #1
0
ファイル: ppb_base.c プロジェクト: ele7enxxh/dtrace-pf
/*
 * ppb_reset_epp_timeout()
 *
 * Reset the EPP timeout bit in the status register
 */
int
ppb_reset_epp_timeout(device_t bus)
{

	ppb_assert_locked(bus);
	return(PPBUS_RESET_EPP(device_get_parent(bus)));
}
コード例 #2
0
/*
 * ppb_reset_epp_timeout()
 *
 * Reset the EPP timeout bit in the status register
 */
int
ppb_reset_epp_timeout(device_t bus)
{
#ifdef INVARIANTS
	struct ppb_data *ppb = DEVTOSOFTC(bus);
#endif

	mtx_assert(ppb->ppc_lock, MA_OWNED);
	return(PPBUS_RESET_EPP(device_get_parent(bus)));
}