From: "Jan Beulich" Subject: Re: [PATCHv6] 08/28] build: convert HAS_IOPORTS use to Kconfig Date: Mon, 30 Nov 2015 07:56:48 -0700 Message-ID: <565C71C002000078000BA477@prv-mh.provo.novell.com> References: <1448387538-12208-1-git-send-email-cardoe@cardoe.com> <1448387538-12208-9-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1448387538-12208-9-git-send-email-cardoe@cardoe.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Doug Goldstein Cc: Andrew Cooper , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 24.11.15 at 18:51, wrote: > --- a/xen/drivers/char/Kconfig > +++ b/xen/drivers/char/Kconfig > @@ -3,3 +3,8 @@ config UART_NS16550 > bool "16550-series UART support" > help > This selects the 16550-series UART support. For most systems, say Y. > + > +# Select HAS_IOPORTS if 16550 has I/O ports > +config HAS_IOPORTS > + bool > + depends on UART_NS16550 Even if only used in ns16550.c, this is a generic setting and hence belongs in common/Kconfig and should be selected by the arches as needed. Jan