Rev 4153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4263 | ||
---|---|---|---|
Line 84... | Line 84... | ||
84 | name = ofw_tree_node_name(node); |
84 | name = ofw_tree_node_name(node); |
85 | 85 | ||
86 | /* |
86 | /* |
87 | * Determine keyboard serial controller type. |
87 | * Determine keyboard serial controller type. |
88 | */ |
88 | */ |
89 | if (strcmp(name, "zs") == 0) |
89 | if (str_cmp(name, "zs") == 0) |
90 | kbd_type = KBD_Z8530; |
90 | kbd_type = KBD_Z8530; |
91 | else if (strcmp(name, "su") == 0) |
91 | else if (str_cmp(name, "su") == 0) |
92 | kbd_type = KBD_NS16550; |
92 | kbd_type = KBD_NS16550; |
93 | 93 | ||
94 | if (kbd_type == KBD_UNKNOWN) { |
94 | if (kbd_type == KBD_UNKNOWN) { |
95 | printf("Unknown keyboard device.\n"); |
95 | printf("Unknown keyboard device.\n"); |
96 | return; |
96 | return; |