Changes in uspace/drv/char/ns8250/ns8250.c [60744cb:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r60744cb rfafb8e5 157 157 /** Parent session */ 158 158 async_sess_t *parent_sess; 159 /** I/O registers * /159 /** I/O registers **/ 160 160 ns8250_regs_t *regs; 161 161 /** Are there any clients connected to the device? */ … … 783 783 * data and reading the line status register. 784 784 * 785 * @p ram icall IRQ event notificatoin786 * @param arg Argument (ns8250_t *)787 */ 788 static inline void ns8250_interrupt_handler(ipc_call_t *icall, void *arg)789 { 790 ns8250_t *ns = (ns8250_t *)arg;785 * @param dev The serial port device. 786 * 787 */ 788 static inline void ns8250_interrupt_handler(ipc_call_t *icall, ddf_dev_t *dev) 789 { 790 ns8250_t *ns = dev_ns8250(dev); 791 791 uint8_t iir = pio_read_8(&ns->regs->iid); 792 792 if ((iir & NS8250_IID_CAUSE_MASK) == NS8250_IID_CAUSE_RXSTATUS) { … … 809 809 { 810 810 return register_interrupt_handler(ns->dev, ns->irq, 811 ns8250_interrupt_handler, (void *)ns,NULL, ihandle);811 ns8250_interrupt_handler, NULL, ihandle); 812 812 } 813 813
Note:
See TracChangeset
for help on using the changeset viewer.