Subversion Repositories HelenOS

Rev

Rev 4311 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4311 Rev 4313
Line 90... Line 90...
90
 
90
 
91
/** Initilize I/O on the Serengeti machine. */
91
/** Initilize I/O on the Serengeti machine. */
92
static void serengeti_init(void)
92
static void serengeti_init(void)
93
{
93
{
94
#ifdef CONFIG_SGCN_KBD
94
#ifdef CONFIG_SGCN_KBD
-
 
95
    sgcn_instance_t *sgcn_instance = sgcnin_init();
95
    indev_t *kbrdin;
96
    if (sgcn_instance) {
96
    kbrdin = sgcnin_init();
97
        srln_instance_t *srln_instance = srln_init();
97
    if (kbrdin)
98
        if (srln_instance) {
98
        srln_init(kbrdin);
99
            indev_t *sink = stdin_wire();
-
 
100
            indev_t *srln = srln_wire(srln_instance, sink);
-
 
101
            sgcnin_wire(sgcn_instance, srln);
-
 
102
        }
-
 
103
    }
99
#endif
104
#endif
100
#ifdef CONFIG_SGCN_PRN
105
#ifdef CONFIG_SGCN_PRN
101
    sgcnout_init();
106
    sgcnout_init();
102
#endif
107
#endif
103
}
108
}