/* * ppb_ecp_sync() * * Wait for the ECP FIFO to be empty */ int ppb_ecp_sync(device_t bus) { ppb_assert_locked(bus); return (PPBUS_ECP_SYNC(device_get_parent(bus))); }
/* * ppb_ecp_sync() * * Wait for the ECP FIFO to be empty */ int ppb_ecp_sync(device_t bus) { #ifdef INVARIANTS struct ppb_data *ppb = DEVTOSOFTC(bus); #endif mtx_assert(ppb->ppc_lock, MA_OWNED); return (PPBUS_ECP_SYNC(device_get_parent(bus))); }