From: Jean Delvare <jdelvare@suse.de>
To: Krzysztof Halasa <khalasa@piap.pl>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 3/3] soc: ixp4xx: Hide auto-selected drivers
Date: Fri, 12 Jul 2019 15:57:44 +0200 [thread overview]
Message-ID: <20190712155744.0771967c@endymion> (raw)
In-Reply-To: <20190712153722.3d1498be@endymion>
The 2 IXP4xx SOC drivers qmgr and npe are selected automatically when
needed so they do not need to be presented to the user.
Furthermore these helper drivers are specific to the IXP4xx arch so
hide them completely on other architectures so as to not clutter the
config file.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Krzysztof Halasa <khalasa@piap.pl>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
Note: Ultimately all I want is that non-ixp4xx users are not asked
about IXP4XX_QMGR and IXP4XX_NPE. If there is another preferred option
to achieve the same, that would work with me too, just let me know.
drivers/soc/ixp4xx/Kconfig | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- linux-5.2.orig/drivers/soc/ixp4xx/Kconfig 2019-07-08 00:41:56.000000000 +0200
+++ linux-5.2/drivers/soc/ixp4xx/Kconfig 2019-07-12 15:21:44.769229835 +0200
@@ -1,17 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-only
+if ARCH_IXP4XX
menu "IXP4xx SoC drivers"
config IXP4XX_QMGR
- tristate "IXP4xx Queue Manager support"
+ tristate
help
This driver supports IXP4xx built-in hardware queue manager
and is automatically selected by Ethernet and HSS drivers.
config IXP4XX_NPE
- tristate "IXP4xx Network Processor Engine support"
+ tristate
select FW_LOADER
help
This driver supports IXP4xx built-in network coprocessors
and is automatically selected by Ethernet and HSS drivers.
endmenu
+endif
--
Jean Delvare
SUSE L3 Support
next prev parent reply other threads:[~2019-07-12 13:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-12 13:37 [PATCH 1/2] soc: ixp4xx: List the whole directory in MAINTAINERS Jean Delvare
2019-07-12 13:50 ` [PATCH 2/3] soc: ixp4xx: Really select helper drivers automatically Jean Delvare
2019-07-12 13:57 ` Jean Delvare [this message]
2019-08-01 8:44 ` [PATCH 3/3] soc: ixp4xx: Hide auto-selected drivers Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190712155744.0771967c@endymion \
--to=jdelvare@suse.de \
--cc=khalasa@piap.pl \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).