FreeBSD/sys/dev/bxe/bxe.c
/*
 * Get the recovery leader resource id according to the engine this function
 * belongs to. Currently only only 2 engines is supported.
 */
Get the recovery leader resource id according to the engine this function
belongs to. Currently only only 2 engines is supported.
Get the recovery leader resource id according to the engine this function belongs to . Currently only only 2 engines is supported .
static int
bxe_get_leader_lock_resource(struct bxe_softc *sc)
{
    if (SC_PATH(sc)) {
        return (HW_LOCK_RESOURCE_RECOVERY_LEADER_1);
    } else {
        return (HW_LOCK_RESOURCE_RECOVERY_LEADER_0);
    }
}
static int bxe_get_leader_lock_resource ( struct bxe_softc * sc ) { if ( SC_PATH ( sc ) ) { return ( HW_LOCK_RESOURCE_RECOVERY_LEADER_1 ) ; } else { return ( HW_LOCK_RESOURCE_RECOVERY_LEADER_0 ) ; } }
Get the recovery leader resource id according to the engine this function
 belongs to.
Get the recovery leader resource id according to the engine this function belongs to .