Lines Matching refs:pci_card
157 struct io_card pci_card;
195 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
197 monza_get_bus_type(parent_path, &pci_card);
207 monza_get_slot_number(path, &pci_card);
209 monza_get_slot_number(parent_path, &pci_card);
221 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
224 (void) snprintf(pci_card.status,
225 sizeof (pci_card.status), "%s/%s%d", MOTHERBOARD,
228 if (pci_card.slot != -1) {
229 (void) snprintf(pci_card.status,
230 sizeof (pci_card.status), "%s/%s%d",
231 IOBOARD, pci_card.bus_type, pci_card.slot);
233 (void) snprintf(pci_card.status,
234 sizeof (pci_card.status),
235 "%s/%s", MOTHERBOARD, pci_card.bus_type);
267 (void) strlcpy(pci_card.name, name, sizeof (pci_card.name));
277 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
280 log_printf("%-11s", pci_card.status);
282 log_printf("%6s", pci_card.bus_type);
284 log_printf("%5s", pci_card.slot_str);
286 log_printf("%46.45s", pci_card.notes);
288 if (strlen(pci_card.name) > 24)
289 log_printf("%25.24s+", pci_card.name);
291 log_printf("%26s", pci_card.name);
293 if (strlen(pci_card.model) > 10)
294 log_printf("%10.9s+", pci_card.model);
296 log_printf("%10s", pci_card.model);