pcicfg_get_nslots
static uint8_t pcicfg_get_nslots(dev_info_t *, ddi_acc_handle_t);
num_slots = pcicfg_get_nslots(new_child, h);