FreeBSD/sys/dev/bhnd/siba/siba_bhndb.c
/**
 * Apply any hardware workarounds that are required upon attach or resume
 * of the bus.
 */
Apply any hardware workarounds that are required upon attach or resume
of the bus.
Apply any hardware workarounds that are required upon attach or resume of the bus .
static int
siba_bhndb_wars_hwup(struct siba_softc *sc)
{
	uint32_t		 quirks;
	int			 error;
	quirks = bhnd_device_quirks(sc->hostb_dev, bridge_devs,
	    sizeof(bridge_devs[0]));
	if (quirks & SIBA_QUIRK_PCIE_D11_SB_TIMEOUT) {
		if ((error = siba_bhndb_wars_pcie_clear_d11_timeout(sc)))
			return (error);
	}
	return (0);
}
static int siba_bhndb_wars_hwup ( struct siba_softc * sc ) { uint32_t quirks ; int error ; quirks = bhnd_device_quirks ( sc -> hostb_dev , bridge_devs , sizeof ( bridge_devs [ 0 ] ) ) ; if ( quirks & SIBA_QUIRK_PCIE_D11_SB_TIMEOUT ) { if ( ( error = siba_bhndb_wars_pcie_clear_d11_timeout ( sc ) ) ) return ( error ) ; } return ( 0 ) ; }
Apply any hardware workarounds that are required upon attach or resume
 of the bus.
Apply any hardware workarounds that are required upon attach or resume of the bus .