Rev 510 | Rev 517 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 510 | Rev 511 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | ch = chardev->buffer[(chardev->index - chardev->counter) % CHARDEV_BUFLEN]; |
80 | ch = chardev->buffer[(chardev->index - chardev->counter) % CHARDEV_BUFLEN]; |
81 | chardev->counter--; |
81 | chardev->counter--; |
82 | spinlock_unlock(&chardev->lock); |
82 | spinlock_unlock(&chardev->lock); |
83 | interrupts_restore(ipl); |
83 | interrupts_restore(ipl); |
84 | 84 | ||
85 | chardev->ready_func(); |
85 | chardev->op->resume(); |
86 | 86 | ||
87 | return ch; |
87 | return ch; |
88 | } |
88 | } |