Changeset ebb1489 in mainline for uspace/drv/char/ns8250/ns8250.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r2a0c827c rebb1489 783 783 * data and reading the line status register. 784 784 * 785 * @p aram 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);785 * @pram icall IRQ event notificatoin 786 * @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; 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, NULL, ihandle);811 ns8250_interrupt_handler, (void *)ns, NULL, ihandle); 812 812 } 813 813
Note:
See TracChangeset
for help on using the changeset viewer.