aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-19 23:52:00 -0400
committerIan Moffett <ian@osmora.org>2024-05-19 23:52:53 -0400
commite4328cd3fbc923f0525ff93990a09150cd03db62 (patch)
treea8a80bbc7a769744aed473cdf284b0f7825c99b3
parent519eb6b79c76864508e2d51e0e3cb5be2d0f36e1 (diff)
kernel: tty: Improve comment in tty_dev_read()
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/kern/kern_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tty.c b/sys/kern/kern_tty.c
index f8a4877..c353a9d 100644
--- a/sys/kern/kern_tty.c
+++ b/sys/kern/kern_tty.c
@@ -142,8 +142,8 @@ tty_dev_read(struct device *dev, struct sio_txn *sio)
len = max_len;
/*
- * Transfer data from the TTY ring with SIO and
- * flush it.
+ * Transfer data from the TTY ring with SIO then
+ * ensure the ring is clean by resetting it.
*
* TODO: As of now we are just reading the root
* TTY, add support for multiple TTYs.