[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <78a250ab-29ad-f7cb-3fa2-482e76db207a@redhat.com>
Date: Tue, 30 Jun 2020 11:44:16 -0700
From: Tom Rix <trix@...hat.com>
To: Randy Dunlap <rdunlap@...radead.org>, hao.wu@...el.com,
mdf@...nel.org, corbet@....net
Cc: linux-fpga@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 1/1] fpga: dfl: RFC PCI config
> I haven't tested this, but in general it's not safe to select something like
> SENSORS* or HWMON* unless you first check that CONFIG_HWMON is enabled.
> Otherwise this would usually cause kconfig warning(s).
>
> But don't add things like
> select HWMON
> select SPI
> select SPI_MASTER
>
> because we don't enable subsystems (like HWMON or SPI) just inside one
> driver's kconfig entry.
> The driver(s) should instead depend on HWMON, SPI, SPI_MASTER etc.
Yes, I thought this was ugly. The next rev addresses this issue. The config will not be fully automagic. User will have enough information in the doc to figure out the other subsystems.
Tom
Powered by blists - more mailing lists