Changeset 8513ad7 in mainline for kernel/arch/sparc64/src/console.c
- Timestamp:
- 2006-10-17T19:18:49Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4874c2d
- Parents:
- e60293d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/console.c
re60293d r8513ad7 106 106 107 107 #ifdef CONFIG_Z8530 108 if (kbd_type == KBD_Z8530) 108 if (kbd_type == KBD_Z8530) { 109 /* 110 * The z8530 driver is interrupt-driven. 111 */ 109 112 return; 113 } 110 114 #endif 111 115 … … 124 128 void arch_grab_console(void) 125 129 { 130 switch (kbd_type) { 126 131 #ifdef CONFIG_Z8530 127 if (kbd_type == KBD_Z8530)132 case KBD_Z8530: 128 133 z8530_grab(); 134 break; 129 135 #endif 136 #ifdef CONFIG_NS16550 137 case KBD_NS16550: 138 ns16550_grab(); 139 break; 140 #endif 141 default: 142 break; 143 } 130 144 } 131 145 … … 135 149 void arch_release_console(void) 136 150 { 151 switch (kbd_type) { 137 152 #ifdef CONFIG_Z8530 138 if (kbd_type == KBD_Z8530)153 case KBD_Z8530: 139 154 z8530_release(); 155 break; 140 156 #endif 157 #ifdef CONFIG_NS16550 158 case KBD_NS16550: 159 ns16550_release(); 160 break; 161 #endif 162 default: 163 break; 164 } 141 165 } 142 166
Note:
See TracChangeset
for help on using the changeset viewer.