Rev 4026 | Rev 4284 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4026 | Rev 4148 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | async_set_interrupt_received(z8530_irq_handler); |
87 | async_set_interrupt_received(z8530_irq_handler); |
88 | z8530_cmds[0].addr = (void *) sysinfo_value("kbd.address.kernel") + |
88 | z8530_cmds[0].addr = (void *) sysinfo_value("kbd.address.kernel") + |
89 | CHAN_A_STATUS; |
89 | CHAN_A_STATUS; |
90 | z8530_cmds[3].addr = (void *) sysinfo_value("kbd.address.kernel") + |
90 | z8530_cmds[3].addr = (void *) sysinfo_value("kbd.address.kernel") + |
91 | CHAN_A_DATA; |
91 | CHAN_A_DATA; |
92 | ipc_register_irq(sysinfo_value("kbd.inr"), sysinfo_value("kbd.devno"), |
92 | ipc_register_irq(sysinfo_value("kbd.inr"), device_assign_devno(), |
93 | sysinfo_value("kbd.inr"), &z8530_kbd); |
93 | sysinfo_value("kbd.inr"), &z8530_kbd); |
94 | return 0; |
94 | return 0; |
95 | } |
95 | } |
96 | 96 | ||
97 | static void z8530_irq_handler(ipc_callid_t iid, ipc_call_t *call) |
97 | static void z8530_irq_handler(ipc_callid_t iid, ipc_call_t *call) |