/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 154 char *compatible; local 183 compatible = (char *)get_prop_val(find_prop(pnode, "compatible")); 192 if (compatible == NULL) 193 compatible = ""; 201 printf("ADDED BOARD name=%s type=%s compatible=%s\n", 202 name, type, compatible); 208 printf("ADDED BOARD name=%s type=%s compatible=%s\n", 209 name, type, compatible);
|
H A D | pdevinfo_funcs.c | 751 * return the first node with the matching compatible. 754 dev_find_node_by_compatible(Prom_node *root, const char *compatible) argument 761 if (root == NULL || compatible == NULL) 764 if ((prop = find_prop(root, "compatible")) != NULL && 769 * compatible property is. Since it is an array of strings 774 * is examine the first string in the compatible property. 778 if (strcmp(compatible_array, compatible) == 0) 786 node = dev_find_node_by_compatible(root->child, compatible); 801 return (dev_find_node_by_compatible(root->sibling, compatible)); 806 * the current one which has the requested compatible propert 809 dev_next_node_by_compatible(Prom_node *root, const char *compatible) argument [all...] |
H A D | display_sun4v.c | 67 #define OBP_PROP_COMPATIBLE "compatible" 557 char *compatible; local 684 * if compatible prop is not found, name will be 685 * <nodename>-<compatible> 688 &compatible); 691 (void) strlcat(name, compatible, 693 free(compatible); 829 * return the first compatible value 1139 goto compatible; 1154 compatible [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 142 char *compatible; local 226 * if compatible prop is found, name will be 227 * <nodename>-<compatible> 230 &compatible); 233 (void) strlcat(name, compatible, MAXSTRLEN); 234 free(compatible); 299 char *compatible; local 360 err = huron_get_first_compatible_value(pcih, &compatible); 371 log_printf("%31s", compatible); 372 free(compatible); [all...] |
H A D | pelton.c | 146 char *compatible; local 224 * if compatible prop is found, name will be 225 * <nodename>-<compatible> 228 &compatible); 231 (void) strlcat(name, compatible, MAXSTRLEN); 232 free(compatible); 297 char *compatible; local 370 err = pelton_get_first_compatible_value(pcih, &compatible); 381 log_printf("%31s", compatible); 382 free(compatible); [all...] |
H A D | erie.c | 175 char *compatible; local 221 /* Get first compatible value from picl compatible list */ 222 err = erie_get_first_compatible_value(pcih, &compatible); 234 log_printf("%31s", compatible); 235 free(compatible); 254 * This function returns the first picl compatible value 446 char *compatible; local 469 * if compatible prop is not found, name will be 470 * <nodename>-<compatible> [all...] |
H A D | ontario.c | 160 char *compatible; local 241 * if compatible prop is found, name will be 242 * <nodename>-<compatible> 245 &compatible); 248 (void) strlcat(name, compatible, MAXSTRLEN); 249 free(compatible); 412 char *compatible; local 483 err = ontario_get_first_compatible_value(pcih, &compatible); 494 log_printf("%31s", compatible); 495 free(compatible); [all...] |
H A D | stpaul.c | 79 char *compatible; local 188 * if compatible prop is found, name will be 189 * <nodename>-<compatible> 192 &compatible); 195 (void) strlcat(name, compatible, MAXSTRLEN); 196 free(compatible); 254 char *compatible; local 345 err = stpaul_get_first_compatible_value(pcih, &compatible); 356 log_printf("%31s", compatible); 357 free(compatible); [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 128 char *compatible; local 211 * if compatible prop is found, name will be 212 * <nodename>-<compatible> 215 &compatible); 218 (void) strlcat(name, compatible, MAXSTRLEN); 219 free(compatible); 347 char *compatible; local 411 err = montoya_get_first_compatible_value(pcih, &compatible); 423 log_printf("%31s", compatible); 424 free(compatible); [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 155 char *compatible; local 248 * if compatible prop is found, name will be 249 * <nodename>-<compatible> 252 &compatible); 255 (void) strlcat(name, compatible, MAXSTRLEN); 256 free(compatible); 384 char *compatible; local 458 err = monza_get_first_compatible_value(pcih, &compatible); 470 log_printf("%31s", compatible); 471 free(compatible); [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 99 char *compatible; local 249 * if compatible prop is found, name will be 250 * <nodename>-<compatible> 253 &compatible); 256 (void) strlcat(name, compatible, MAXSTRLEN); 257 free(compatible); 260 /* No binding-name or compatible */ 412 * return the first compatible value
|