Rev 4220 | Rev 4311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4220 | Rev 4270 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | { |
93 | { |
94 | #ifdef CONFIG_SGCN_KBD |
94 | #ifdef CONFIG_SGCN_KBD |
95 | indev_t *kbrdin; |
95 | indev_t *kbrdin; |
96 | kbrdin = sgcnin_init(); |
96 | kbrdin = sgcnin_init(); |
97 | if (kbrdin) |
97 | if (kbrdin) |
98 | srlnin_init(kbrdin); |
98 | srln_init(kbrdin); |
99 | #endif |
99 | #endif |
100 | #ifdef CONFIG_SGCN_PRN |
100 | #ifdef CONFIG_SGCN_PRN |
101 | sgcnout_init(); |
101 | sgcnout_init(); |
102 | #endif |
102 | #endif |
103 | } |
103 | } |
Line 132... | Line 132... | ||
132 | void arch_grab_console(void) |
132 | void arch_grab_console(void) |
133 | { |
133 | { |
134 | #ifdef CONFIG_FB |
134 | #ifdef CONFIG_FB |
135 | scr_redraw(); |
135 | scr_redraw(); |
136 | #endif |
136 | #endif |
- | 137 | ||
137 | switch (kbd_type) { |
138 | switch (kbd_type) { |
138 | #ifdef CONFIG_SGCN |
139 | #ifdef CONFIG_SGCN_KBD |
139 | case KBD_SGCN: |
140 | case KBD_SGCN: |
140 | sgcn_grab(); |
141 | sgcn_grab(); |
141 | break; |
142 | break; |
142 | #endif |
143 | #endif |
143 | default: |
144 | default: |
Line 149... | Line 150... | ||
149 | * |
150 | * |
150 | */ |
151 | */ |
151 | void arch_release_console(void) |
152 | void arch_release_console(void) |
152 | { |
153 | { |
153 | switch (kbd_type) { |
154 | switch (kbd_type) { |
154 | #ifdef CONFIG_SGCN |
155 | #ifdef CONFIG_SGCN_KBD |
155 | case KBD_SGCN: |
156 | case KBD_SGCN: |
156 | sgcn_release(); |
157 | sgcn_release(); |
157 | break; |
158 | break; |
158 | #endif |
159 | #endif |
159 | default: |
160 | default: |