NUM_HA_SHELVES
if (softc->ha_id == 0 || softc->ha_id > NUM_HA_SHELVES) {
softc->port_cnt = ctl_max_ports / NUM_HA_SHELVES;
num_ha_groups = (softc->is_single) ? 0 : NUM_HA_SHELVES;