/* Returns cb_idx, or zero means it wasn't found  */
static u8 mpt_get_cb_idx(MPT_DRIVER_CLASS dclass)
/* Returns cb_idx, or zero means it wasn't found  */
static u8 mpt_get_cb_idx(MPT_DRIVER_CLASS dclass)
{
	u8 cb_idx;
	for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--)
		if (MptDriverClass[cb_idx] == dclass)
			return cb_idx;
	return 0;
}