From nobody Mon Feb 9 21:36:56 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ED0924DCEB; Sat, 10 Jan 2026 23:26:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768087616; cv=none; b=nRCIzNeZtGztj8p147AlPKk3tIQH0Mvseq/TwAeyxlWq4yc41Kypg4ZW+7dHb9UlwPweej2ft6rV15336D2xpHrO2vh5jS7miPZAJzrmVI48XmfFHoTG0CpKFJySFGVmMAZbzhpiHDJfgnkZYySo5fcWVQMH6lzMSxWZkIYlSos= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768087616; c=relaxed/simple; bh=ijYhweJ0wfKw3JnYDNsfIKoRaU1xftAaDfRtC/Zy5cA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EIccc34LZOlP4ddOz7ssf8rjOroWkdAovapoOC3yebMgd8QFgzlYqLF28lgxm+TaZJTYNB/iqaJAJJyF+pUsSA+pk3HoCZ1KjsozfUuxJRpGvY/OkZxQIuE2DTa42AElWnfwTNHpnDk/VJ00HFEOkXUB9l8IhNTDcj4tdD3vB8E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=4WSSv6uS; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="4WSSv6uS" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=rrL0g0mPnat4iU5QjgMFQiA9kFjs/YA8LBDPK9+rOxQ=; b=4WSSv6uS/WfgiQpv5oBIk2CKSq t9SFf02JVE1UOKtFRHvymEuLnN2Ag5CyZmlqU6s+Bk2AMy3qzLPFlcvZQ3AT2p8bw3EaQm8nNwJKi mbr6XnPreLf5Y/Qill47OgKNqeOCLnQmSR1y1WPQlV7e/rVQwGbZ7rinHqBgCGCmVaVYwV4/w+htD YhuXYhU9c5sslTlNKg2XsJWL9fcbEaaJRKGQMbXQSJSpyUHZvJvxXUwE4WKymg+ueEo7OiXz7Lijl eP06GCO+SKOsdOBrIwR2BuX0TBmyP3IhJy50DS+b1t1XpJRhTPRGxoR6mi9jrqU2/mDgyxqTKL1Ea i6i5B3Kg==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1veiM1-00000003lbk-2di9; Sat, 10 Jan 2026 23:26:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , Jiri Slaby , Geert Uytterhoeven , linux-serial@vger.kernel.org Subject: [PATCH 3/4 v2] serial: Kconfig: fix ordering of entries for menu display Date: Sat, 10 Jan 2026 15:26:42 -0800 Message-ID: <20260110232643.3533351-4-rdunlap@infradead.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260110232643.3533351-1-rdunlap@infradead.org> References: <20260110232643.3533351-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Improve the "Non-8250 serial port support" menu so that entries in it are displayed in a better order (_CONSOLE after its driver) and so that intervening symbols don't break up the dependency list, allowing menu entries to be displayed with proper indentation. Signed-off-by: Randy Dunlap --- v2: no change (resending since patch 4 changed) Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-serial@vger.kernel.org drivers/tty/serial/Kconfig | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) --- linux-next-20251219.orig/drivers/tty/serial/Kconfig +++ linux-next-20251219/drivers/tty/serial/Kconfig @@ -413,6 +413,10 @@ config SERIAL_21285_CONSOLE your boot loader (lilo or loadlin) about how to pass options to the kernel at boot time.) =20 +config SERIAL_PXA_NON8250 + bool + depends on !SERIAL_8250 || COMPILE_TEST + config SERIAL_PXA bool "PXA serial port support (DEPRECATED)" depends on ARCH_PXA || ARCH_MMP @@ -426,10 +430,6 @@ config SERIAL_PXA Unless you have a specific need, you should use SERIAL_8250_PXA instead of this. =20 -config SERIAL_PXA_NON8250 - bool - depends on !SERIAL_8250 || COMPILE_TEST - config SERIAL_PXA_CONSOLE bool "Console on PXA serial port (DEPRECATED)" depends on SERIAL_PXA @@ -863,15 +863,15 @@ config SERIAL_ICOM This driver can also be built as a module. If so, the module will be called icom. =20 +config HAS_TXX9_SERIAL + bool + config SERIAL_TXX9 bool "TMPTX39XX/49XX SIO support" depends on HAS_TXX9_SERIAL select SERIAL_CORE default y =20 -config HAS_TXX9_SERIAL - bool - config SERIAL_TXX9_NR_UARTS int "Maximum number of TMPTX39XX/49XX SIO ports" depends on SERIAL_TXX9 @@ -1251,12 +1251,6 @@ config SERIAL_AR933X_NR_UARTS Set this to the number of serial ports you want the driver to support. =20 -config SERIAL_MPS2_UART_CONSOLE - bool "MPS2 UART console support" - depends on SERIAL_MPS2_UART - select SERIAL_CORE_CONSOLE - select SERIAL_EARLYCON - config SERIAL_MPS2_UART bool "MPS2 UART port" depends on ARCH_MPS2 || COMPILE_TEST @@ -1264,6 +1258,12 @@ config SERIAL_MPS2_UART help This driver support the UART ports on ARM MPS2. =20 +config SERIAL_MPS2_UART_CONSOLE + bool "MPS2 UART console support" + depends on SERIAL_MPS2_UART + select SERIAL_CORE_CONSOLE + select SERIAL_EARLYCON + config SERIAL_ARC tristate "ARC UART driver support" select SERIAL_CORE