FreeBSD/usr.sbin/mlxcontrol/config.c
/********************************************************************************
 * Print details for the physical drive at chn/targ in a format suitable for
 * human consumption.
 *
 * <type>CCTT (<state>) "<vendor>/<model>" 
 *                       ????MB <features>
 *
 */
Print details for the physical drive at chn/targ in a format suitable for
human consumption.


Print details for the physical drive at chn / targ in a format suitable for human consumption .
static void
print_phys_drive(struct conf_config *conf, int chn, int targ)
{
    struct mlx_phys_drv		*drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ];
    if (!(drv->pd_flags1 & MLX_PHYS_DRV_PRESENT))
	return;
    mlx_print_phys_drv(drv, chn, targ, "# ", 1);
}
static void print_phys_drive ( struct conf_config * conf , int chn , int targ ) { struct mlx_phys_drv * drv = & conf -> cc_cfg . cc_phys_drives [ chn * 16 + targ ] ; if ( ! ( drv -> pd_flags1 & MLX_PHYS_DRV_PRESENT ) ) return ; mlx_print_phys_drv ( drv , chn , targ , " " , 1 ) ; }
Print details for the physical drive at chn/targ in a format suitable for
 human consumption.
Print details for the physical drive at chn / targ in a format suitable for human consumption .
/* if the drive isn't present, don't print it */