/* * 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))); }
/* * 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))); }