From e4328cd3fbc923f0525ff93990a09150cd03db62 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 19 May 2024 23:52:00 -0400 Subject: kernel: tty: Improve comment in tty_dev_read() Signed-off-by: Ian Moffett --- sys/kern/kern_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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. -- cgit v1.2.3