Subversion Repositories HelenOS

Rev

Rev 3935 | Rev 3969 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3935 Rev 3961
Line 146... Line 146...
146
    offset = pa - aligned_addr;
146
    offset = pa - aligned_addr;
147
   
147
   
148
    switch (kbd_type) {
148
    switch (kbd_type) {
149
#ifdef CONFIG_Z8530
149
#ifdef CONFIG_Z8530
150
    case KBD_Z8530:
150
    case KBD_Z8530:
151
        z8530_init(device_assign_devno(),
151
        (void) z8530_init((z8530_t *) hw_map(aligned_addr,
152
            hw_map(aligned_addr, offset + size) + offset, inr, cir, cir_arg);
152
            offset + size) + offset, device_assign_devno(), inr, cir,
-
 
153
            cir_arg);
153
        break;
154
        break;
154
#endif
155
#endif
155
#ifdef CONFIG_NS16550
156
#ifdef CONFIG_NS16550
156
    case KBD_NS16550:
157
    case KBD_NS16550:
157
        (void) ns16550_init((ns16550_t *) (hw_map(aligned_addr,
158
        (void) ns16550_init((ns16550_t *) (hw_map(aligned_addr,