From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- kernel/drivers/usb/serial/console.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/usb/serial/console.c b/kernel/drivers/usb/serial/console.c index 7d28930..b97aa40 100644 --- a/kernel/drivers/usb/serial/console.c +++ b/kernel/drivers/usb/serial/console.c @@ -79,7 +79,7 @@ if (*s) doflow = (*s++ == 'r'); } - + /* Sane default */ if (baud == 0) baud = 9600; @@ -102,6 +102,9 @@ break; } + if (doflow) + cflag |= CRTSCTS; + /* * no need to check the index here: if the index is wrong, console * code won't call us -- Gitblit v1.6.2