Rev 4072 | Rev 4119 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4072 | Rev 4111 | ||
|---|---|---|---|
| Line 94... | Line 94... | ||
| 94 | } |
94 | } |
| 95 | 95 | ||
| 96 | /** Initilize I/O on the Serengeti machine. */ |
96 | /** Initilize I/O on the Serengeti machine. */ |
| 97 | static void serengeti_init(void) |
97 | static void serengeti_init(void) |
| 98 | { |
98 | { |
| 99 | #ifdef CONFIG_SRLN |
99 | #ifdef CONFIG_SGCN_KBD |
| - | 100 | indev_t *kbrdin; |
|
| - | 101 | kbrdin = sgcnin_init(); |
|
| - | 102 | if (kbrdin) |
|
| 100 | srln_init(stdin); |
103 | srlnin_init(kbrdin); |
| - | 104 | #endif |
|
| - | 105 | #ifdef CONFIG_SGCN_PRN |
|
| 101 | sgcn_init(&srlnin); |
106 | sgcnout_init(); |
| 102 | #endif |
107 | #endif |
| 103 | } |
108 | } |
| 104 | 109 | ||
| 105 | /** |
110 | /** |
| 106 | * Initialize input/output. Auto-detects the type of machine |
111 | * Initialize input/output. Auto-detects the type of machine |