Changeset f651e80 in mainline for kernel/arch/sparc64/src/console.c
- Timestamp:
- 2009-01-08T12:07:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/console.c
rc571f42 rf651e80 78 78 prop = ofw_tree_getprop(aliases, "screen"); 79 79 if (!prop) 80 panic("Can 't find property \"screen\".\n");80 panic("Cannot find property 'screen'."); 81 81 if (!prop->value) 82 panic("Can 't find screen alias.\n");82 panic("Cannot find screen alias."); 83 83 screen = ofw_tree_lookup(prop->value); 84 84 if (!screen) 85 panic("Can 't find %s\n", prop->value);85 panic("Cannot find %s.", prop->value); 86 86 87 87 scr_init(screen); … … 89 89 prop = ofw_tree_getprop(aliases, "keyboard"); 90 90 if (!prop) 91 panic("Can 't find property \"keyboard\".\n");91 panic("Cannot find property 'keyboard'."); 92 92 if (!prop->value) 93 panic("Can 't find keyboard alias.\n");93 panic("Cannot find keyboard alias."); 94 94 keyboard = ofw_tree_lookup(prop->value); 95 95 if (!keyboard) 96 panic("Can 't find %s\n", prop->value);96 panic("Cannot find %s.", prop->value); 97 97 98 98 kbd_init(keyboard); … … 116 116 aliases = ofw_tree_lookup("/aliases"); 117 117 if (!aliases) 118 panic("Can 't find /aliases.\n");118 panic("Cannot find '/aliases'."); 119 119 120 120 /* "def-cn" = "default console" */
Note:
See TracChangeset
for help on using the changeset viewer.