Rev 4011 | Rev 4676 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4011 | Rev 4220 | ||
---|---|---|---|
Line 61... | Line 61... | ||
61 | ofw_sbus_reg_t *sbus_reg; |
61 | ofw_sbus_reg_t *sbus_reg; |
62 | const char *name; |
62 | const char *name; |
63 | 63 | ||
64 | name = ofw_tree_node_name(node); |
64 | name = ofw_tree_node_name(node); |
65 | 65 | ||
66 | if (strcmp(name, "SUNW,m64B") == 0) |
66 | if (str_cmp(name, "SUNW,m64B") == 0) |
67 | scr_type = SCR_ATYFB; |
67 | scr_type = SCR_ATYFB; |
68 | else if (strcmp(name, "SUNW,XVR-100") == 0) |
68 | else if (str_cmp(name, "SUNW,XVR-100") == 0) |
69 | scr_type = SCR_XVR; |
69 | scr_type = SCR_XVR; |
70 | else if (strcmp(name, "SUNW,ffb") == 0) |
70 | else if (str_cmp(name, "SUNW,ffb") == 0) |
71 | scr_type = SCR_FFB; |
71 | scr_type = SCR_FFB; |
72 | else if (strcmp(name, "cgsix") == 0) |
72 | else if (str_cmp(name, "cgsix") == 0) |
73 | scr_type = SCR_CGSIX; |
73 | scr_type = SCR_CGSIX; |
74 | 74 | ||
75 | if (scr_type == SCR_UNKNOWN) { |
75 | if (scr_type == SCR_UNKNOWN) { |
76 | printf("Unknown screen device.\n"); |
76 | printf("Unknown screen device.\n"); |
77 | return; |
77 | return; |