nslots = scanBus(maxBusNum, maxDevNum, method, NULL);
slot_array = (_pci_slot_info_t *)
malloc(sizeof(_pci_slot_info_t) * nslots +1);
nslots = scanBus(maxBusNum, maxDevNum, method, NULL);
slot_array = (_pci_slot_info_t *)
malloc(sizeof(_pci_slot_info_t) * nslots +1);