Rev 4345 | Rev 4348 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4345 | Rev 4346 | ||
---|---|---|---|
Line 187... | Line 187... | ||
187 | 0, 0); |
187 | 0, 0); |
188 | } |
188 | } |
189 | } |
189 | } |
190 | 190 | ||
191 | /* Initialize port driver. */ |
191 | /* Initialize port driver. */ |
192 | if (kbd_port_init()) |
192 | if (kbd_port_init() != 0) |
- | 193 | return -1; |
|
- | 194 | ||
- | 195 | /* Initialize controller driver. */ |
|
- | 196 | if (kbd_ctl_init() != 0) |
|
193 | return -1; |
197 | return -1; |
194 | 198 | ||
195 | /* Initialize key buffer */ |
199 | /* Initialize key buffer */ |
196 | keybuffer_init(&keybuffer); |
200 | keybuffer_init(&keybuffer); |
197 | 201 |