Changeset e7f2ad68 in mainline for kernel/arch/sparc64/src/console.c
- Timestamp:
- 2009-02-15T13:57:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ee06f2a
- Parents:
- 826a4e8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/console.c
r826a4e8d re7f2ad68 142 142 thread_detach(THREAD); 143 143 144 #ifdef CONFIG_Z8530 145 if (kbd_type == KBD_Z8530) { 146 /* 147 * The z8530 driver is interrupt-driven. 148 */ 144 if (kbd_type != KBD_SGCN) 149 145 return; 150 } 151 #endif 152 153 #ifdef CONFIG_NS16550 154 #ifdef CONFIG_NS16550_INTERRUPT_DRIVEN 155 if (kbd_type == KBD_NS16550) { 156 /* 157 * The ns16550 driver is interrupt-driven. 158 */ 159 return; 160 } 161 #endif 162 #endif 146 163 147 while (1) { 164 #ifdef CONFIG_NS16550165 #ifndef CONFIG_NS16550_INTERRUPT_DRIVEN166 if (kbd_type == KBD_NS16550)167 ns16550_poll();168 #endif169 #endif170 148 #ifdef CONFIG_SGCN 171 149 if (kbd_type == KBD_SGCN)
Note:
See TracChangeset
for help on using the changeset viewer.