From: Ian Campbell Subject: Re: [PATCH 2/8] pl011: Move registers' definition in a separate file Date: Tue, 30 Jul 2013 11:00:40 +0100 Message-ID: <1375178440.11701.85.camel@kazak.uk.xensource.com> References: <1374771574-7848-1-git-send-email-julien.grall@linaro.org> <1374771574-7848-3-git-send-email-julien.grall@linaro.org> <1375115051.11701.27.camel@kazak.uk.xensource.com> <51F699C1.3000506@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51F699C1.3000506@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano.Stabellini@eu.citrix.com, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-07-29 at 17:35 +0100, Julien Grall wrote: > On 07/29/2013 05:24 PM, Ian Campbell wrote: > > Should we prefix them with PL011 or something? > > This header is intended to be used only in the C drivers and early printk. > > But I can prefix by UART... which is the real name for the registers. "real name" in what sense? The offsets are specific to the PL011, aren't they? Or are you saying they are common with the 16550 offsets? It's bad enough that the 16550 header uses UART prefix without adding a second potentially conflicting user of that namespace > I didn't choose this solution to avoid lots of changes in the PL011 driver. That's a reasonable point. Lets leave them alone until it becomes a real problem. Ian.