Lines Matching refs:pci_card
144 struct io_card pci_card;
181 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
183 huron_get_bus_type(parent_path, &pci_card);
193 huron_get_slot_number(path, &pci_card);
195 huron_get_slot_number(parent_path, &pci_card);
199 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
201 (void) snprintf(pci_card.status,
202 sizeof (pci_card.status), "%s/%s%d", MOTHERBOARD,
205 if (pci_card.slot != NO_SLOT) {
206 (void) snprintf(pci_card.status,
207 sizeof (pci_card.status), "%s/%s%d",
208 MOTHERBOARD, pci_card.bus_type,
209 pci_card.slot);
211 (void) snprintf(pci_card.status,
212 sizeof (pci_card.status), "%s/%s",
213 MOTHERBOARD, pci_card.bus_type);
245 (void) strlcpy(pci_card.name, name, sizeof (pci_card.name));
255 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
258 log_printf("%-11s", pci_card.status);
260 log_printf("%6s", pci_card.bus_type);
262 log_printf("%5s", pci_card.slot_str);
264 log_printf("%46.45s", pci_card.notes);
266 if (strlen(pci_card.name) > 24)
267 log_printf("%25.24s+", pci_card.name);
269 log_printf("%26s", pci_card.name);
271 if (strlen(pci_card.model) > 10)
272 log_printf("%10.9s+", pci_card.model);
274 log_printf("%10s", pci_card.model);