/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 172 insert_io_card(struct io_card *list, struct io_card *card) in insert_io_card() argument 177 if (card == NULL) in insert_io_card() 186 (void) memcpy(newcard, card, sizeof (struct io_card)); in insert_io_card() 363 struct io_card card; in display_ffb() local 371 card.display = 1; in display_ffb() 372 card.board = board->board_num; in display_ffb() 373 (void) sprintf(card.bus_type, BUS_TYPE); in display_ffb() 374 card.freq = sys_clk; in display_ffb() 395 card.slot = get_id(fb); in display_ffb() 398 (void) sprintf(card.name, "%s", label); in display_ffb() [all …]
|
H A D | display_sun4v.c | 197 get_bus_type(picl_nodehdl_t nodeh, struct io_card *card) in get_bus_type() argument 201 card->bus_type[0] = '\0'; in get_bus_type() 206 (void) strlcpy(card->bus_type, "PCIE", in get_bus_type() 207 sizeof (card->bus_type)); in get_bus_type() 209 (void) strlcpy(card->bus_type, "PCIX", in get_bus_type() 210 sizeof (card->bus_type)); in get_bus_type() 240 (void) strlcpy(card->bus_type, q, in get_bus_type() 241 sizeof (card->bus_type)); in get_bus_type() 256 get_slot_label(picl_nodehdl_t nodeh, struct io_card *card) in get_slot_label() argument 271 (void) strlcpy(card->slot_str, val, sizeof (card->slot_str)); in get_slot_label() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 111 struct io_card card; in display_pci() local 136 card.display = TRUE; in display_pci() 137 card.board = board->board_num; in display_pci() 138 card.node_id = board->node_id; in display_pci() 158 (void) sprintf(card.bus_type, "PCI"); in display_pci() 160 (void) sprintf(card.bus_type, "cPCI"); in display_pci() 165 sprintf(card.notes, "%s", XMITS_COMPATIBLE); in display_pci() 180 sprintf(card.notes, "%s", SCHIZO_COMPATIBLE); in display_pci() 182 sprintf(card.notes, " "); in display_pci() 249 card.dev_no = (((*int_val) & 0xF800) >> 11); in display_pci() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | stpaul.c | 58 static void get_bus_type(char *path, struct io_card *card); 59 static void get_slot_number(char *path, struct io_card *card); 369 get_bus_type(char *path, struct io_card *card) in get_bus_type() argument 372 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 374 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 376 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 378 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 380 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 382 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 384 (void) strlcpy(card->bus_type, "NONE", sizeof (card->bus_type)); in get_bus_type() [all …]
|
H A D | huron.c | 61 huron_get_bus_type(char *path, struct io_card *card) in huron_get_bus_type() argument 64 (void) strcpy(card->bus_type, "NIU"); in huron_get_bus_type() 66 (void) strcpy(card->bus_type, "PCIE"); in huron_get_bus_type() 71 huron_get_slot_number(char *path, struct io_card *card) in huron_get_slot_number() argument 74 (void) strcpy(card->slot_str, "0"); in huron_get_slot_number() 75 card->slot = 0; in huron_get_slot_number() 77 (void) strcpy(card->slot_str, "1"); in huron_get_slot_number() 78 card->slot = 1; in huron_get_slot_number() 81 (void) strcpy(card->slot_str, "0"); in huron_get_slot_number() 82 card->slot = 0; in huron_get_slot_number() [all …]
|
H A D | pelton.c | 67 get_bus_type(char *path, struct io_card *card) in get_bus_type() argument 70 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 72 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 74 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 76 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 78 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 93 get_slot_number(char *path, struct io_card *card) in get_slot_number() argument 96 (void) strcpy(card->slot_str, "0"); in get_slot_number() 97 card->slot = 0; in get_slot_number() 99 (void) strcpy(card->slot_str, "2"); in get_slot_number() [all …]
|
H A D | ontario.c | 81 get_bus_type(char *path, struct io_card *card) in get_bus_type() argument 84 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 86 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 91 get_slot_number(picl_nodehdl_t nodeh, char *path, struct io_card *card) in get_slot_number() argument 94 (void) strcpy(card->slot_str, "0"); in get_slot_number() 95 card->slot = 0; in get_slot_number() 97 (void) strcpy(card->slot_str, "1"); in get_slot_number() 98 card->slot = 1; in get_slot_number() 100 (void) strcpy(card->slot_str, "2"); in get_slot_number() 101 card->slot = 2; in get_slot_number() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/ents/frutree/ |
H A D | piclfrutree.info | 274 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=4 276 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=3 278 REFNODE pci-card fru WITH _class:/jbus/pci@1d,700000/picl?DeviceID=2 280 REFNODE pci-card fru WITH _class:/jbus/pci@1c,600000/picl?DeviceID=2 282 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=2 284 REFNODE pci-card fru WITH _class:/jbus/pci@1f,700000/picl?DeviceID=2 291 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 293 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 295 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 297 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/ |
H A D | piclfrutree.info | 323 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=2 325 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=3 327 REFNODE pci-card fru WITH _class:/jbus/pci@1d,700000/picl?DeviceID=2 329 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=4 331 REFNODE pci-card fru WITH _class:/jbus/pci@1d,700000/picl?DeviceID=1 333 REFNODE pci-card fru WITH _class:/jbus/pci@1c,600000/picl?DeviceID=1 341 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card 343 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card 345 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card 347 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 157 static void get_slot_name(struct io_card *card, char *slot_name); 204 struct io_card card; in display_pci() local 232 card.display = TRUE; in display_pci() 233 card.board = board->board_num; in display_pci() 234 card.node_id = board->node_id; in display_pci() 252 (void) sprintf(card.bus_type, "PCI"); in display_pci() 254 (void) sprintf(card.bus_type, "cPCI"); in display_pci() 259 sprintf(card.notes, "%s", XMITS_COMPATIBLE); in display_pci() 274 sprintf(card.notes, "%s", SCHIZO_COMPATIBLE); in display_pci() 276 sprintf(card.notes, " "); in display_pci() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/boston/frutree/ |
H A D | piclfrutree.info | 473 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0 475 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0 477 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@1/pci@0/pci@8/picl?DeviceID=1 479 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@1/pci@0/pci@8/picl?DeviceID=2 481 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@2/pci@0/pci@8/picl?DeviceID=1 483 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@2/pci@0/pci@8/picl?DeviceID=2 485 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/picl?DeviceID=0 487 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0 505 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/PCI0/pci-card 507 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/PCI0/pci-card [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 503 struct io_card card; in display_sbus() local 539 card.display = 1; in display_sbus() 540 card.freq = freq; in display_sbus() 541 card.board = board->board_num; in display_sbus() 542 (void) sprintf(card.bus_type, "SBus"); in display_sbus() 543 card.slot = card_num; in display_sbus() 544 card.status[0] = '\0'; in display_sbus() 549 (void) strncpy(card.status, (char *)value, in display_sbus() 553 if (strstr(card.status, "fail") != NULL) in display_sbus() 578 card.name[0] = '\0'; in display_sbus() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 417 struct io_card card; in display_pci() local 426 card.display = 1; in display_pci() 427 card.board = board->board_num; in display_pci() 428 (void) sprintf(card.bus_type, "PCI"); in display_pci() 464 card.freq = -1; in display_pci() 466 card.freq = ((*(int *)value) + 500000) / 1000000; in display_pci() 493 card.slot = tazmo_physical_slot( in display_pci() 498 card.slot_str); in display_pci() 500 card.slot = tazmo_physical_slot( in display_pci() 505 card.slot_str); in display_pci() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 422 struct io_card card; in display_pci() local 431 card.display = 1; in display_pci() 432 card.board = board->board_num; in display_pci() 433 (void) sprintf(card.bus_type, "PCI"); in display_pci() 469 card.freq = -1; in display_pci() 471 card.freq = ((*(int *)value) + 500000) / 1000000; in display_pci() 498 card.slot = tazmo_physical_slot( in display_pci() 503 card.slot_str); in display_pci() 505 card.slot = tazmo_physical_slot( in display_pci() 510 card.slot_str); in display_pci() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/seattle/frutree/ |
H A D | system-board.info | 745 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/picl?DeviceID=0 746 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl?DeviceID=1 755 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0 756 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0/picl?DeviceID=2 761 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0 762 REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0,2/picl?DeviceID=1 768 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0 770 REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0 778 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card 780 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/ |
H A D | system-board.info | 144 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1f,700000/picl?DeviceID=0 147 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0 150 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@3/picl?DeviceID=0 153 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pci@0,2/picl?Devic… 156 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pci@0,2/picl?Devic… 253 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card 255 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card 257 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card 259 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card 261 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/ |
H A D | piclfrutree.info | 284 REFNODE hcm fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hcm-card-fru-prom@0,d6 288 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/hcm-card-fru-prom@0,d6 290 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hcm-card-fru-prom@0,d6 351 REFNODE pci-card fru WITH _class:/jbus/pci@1d,700000/picl?DeviceID=1 353 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=3 355 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=2 362 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 364 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 366 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card 368 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card [all …]
|
/titanic_41/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 141 oss_card_info card; member 223 d->card.card = -1; in alloc_device() 342 d->card.card = d->mixer.card_number; in load_devices() 344 if ((ioctl(fd, SNDCTL_CARDINFO, &d->card) != 0) || in load_devices() 454 char *devnm = d->card.shortname; in print_control() 672 msg(_("%s: '%s' set to '%s'\n"), d->card.shortname, in set_device_control() 772 oss_card_info *card = &d->card; in find_device() local 774 if ((name) && (strcmp(name, card->shortname) == 0)) { in find_device() 820 msg(_("%s (%s)\n"), d->card.shortname, in do_list_devices() 823 msg(_("%s\n"), d->card.shortname); in do_list_devices() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 79 monza_get_bus_type(char *path, struct io_card *card) in monza_get_bus_type() argument 82 (void) strcpy(card->bus_type, "NIU"); in monza_get_bus_type() 84 (void) strcpy(card->bus_type, "PCIE"); in monza_get_bus_type() 89 monza_get_slot_number(char *path, struct io_card *card) in monza_get_slot_number() argument 92 (void) strcpy(card->slot_str, "0"); in monza_get_slot_number() 93 card->slot = 0; in monza_get_slot_number() 95 (void) strcpy(card->slot_str, "1"); in monza_get_slot_number() 96 card->slot = 1; in monza_get_slot_number() 98 (void) strcpy(card->slot_str, MOTHERBOARD); in monza_get_slot_number() 99 card->slot = -1; in monza_get_slot_number()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 77 get_bus_type(char *path, struct io_card *card) in get_bus_type() argument 79 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 83 get_slot_number(char *path, struct io_card *card) in get_slot_number() argument 86 (void) strcpy(card->slot_str, RTM); in get_slot_number() 87 card->slot = 0; in get_slot_number() 89 (void) strcpy(card->slot_str, MOTHERBOARD); in get_slot_number() 90 card->slot = 0; in get_slot_number() 92 (void) strcpy(card->slot_str, MOTHERBOARD); in get_slot_number() 93 card->slot = -1; in get_slot_number()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 122 struct io_card card; in walk_tree_for_pci_devices() local 138 (void) memset(&card, 0, sizeof (card)); in walk_tree_for_pci_devices() 139 card.board = board_number; in walk_tree_for_pci_devices() 142 (void) strlcpy(card.name, (str == NULL ? "N/A":str), in walk_tree_for_pci_devices() 143 sizeof (card.name)); in walk_tree_for_pci_devices() 146 (void) strlcpy(card.model, (str == NULL ? "N/A":str), in walk_tree_for_pci_devices() 147 sizeof (card.model)); in walk_tree_for_pci_devices() 150 card_list = insert_io_card(card_list, &card); in walk_tree_for_pci_devices()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/ |
H A D | system-board.info | 243 REFNODE audio-card fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/audio-card-fru-prom 245 name:/frutree/chassis/MB/system-board/audio-slot/audio-card 247 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/audio-card-fru-prom 253 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1f,700000/picl?DeviceID=2 256 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=2 259 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1c,600000/picl?DeviceID=2 262 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1d,700000/picl?DeviceID=2 265 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=3 268 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=4 274 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI5/pci-card [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | system-board.info | 132 * Set up upa card 135 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=0 138 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=1 248 REFPROP _fru_parent /frutree/chassis/system-board/upa-slot?Slot=0/upa-card 251 REFPROP _fru_parent /frutree/chassis/system-board/upa-slot?Slot=1/upa-card 299 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=1 302 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=2 305 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=3 308 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,600000/picl?DeviceID=1 314 REFPROP _fru_parent frutree/chassis/system-board/pci-slot?Label=J2601/pci-card [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/taco/frutree/ |
H A D | system-board.info | 161 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=2 164 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=3 167 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=4 170 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=5 173 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1f,700000/picl?DeviceID=3 179 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI0/pci-card 182 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI1/pci-card 185 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI2/pci-card 188 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI3/pci-card 191 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI4/pci-card
|
/titanic_41/usr/src/cmd/tabs/ |
H A D | tabs.c | 399 char card[CARDSIZ]; /* buffer area for 1st card in file */ in filetab() local 415 length = read(fildes, card, CARDSIZ); in filetab() 419 for (i = 0; i < length && (c = card[i]) != '\n'; i++) { in filetab() 437 scan = &card[i]; in filetab() 443 card[i] = '\0'; in filetab() 446 card[i] = '\0'; in filetab()
|