Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 410F9C433F5 for ; Sat, 25 Sep 2021 21:50:28 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4735D60F0F for ; Sat, 25 Sep 2021 21:50:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4735D60F0F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4210183592; Sat, 25 Sep 2021 23:50:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="IMoLXG/b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 218EC8323F; Sat, 25 Sep 2021 23:50:23 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F079083592 for ; Sat, 25 Sep 2021 23:50:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 293A160F0F; Sat, 25 Sep 2021 21:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632606617; bh=6n3kKxJSkXOql0mTi/mffS326DH//bKSF/jUPrV3QAY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IMoLXG/bTtLuBoY4bTka0ox8mDt8bBzkQ2PITBC2qVGOo6EfjCIwyBPfMMsSqTu2H gsDNbkFCYp8AMgfs4CeIgRYebftPK9JHhICji04dkP5FTw1eYFR0J4plaCRcdQBQOf qKlU+JOKMGVWQwtJJ5hoZ4qlnFxgjOkThm20DENlG4XUmlRMGHTmS54WRxWpcEJX8S RflnMQXkbNLUK6qtVYqekCMbPfyBx7C2Aq8MHXqAVJPrjgR7X60knqFCZbXl8DRStA qkTvmTGmg8D6H/GJCrAO2eh02BrZ2LiyUd8S5OntgzOnZheAe6hvgxQT2lyv9YJnhq eOjdbCVLJhbRg== Received: by pali.im (Postfix) id B1BEF847; Sat, 25 Sep 2021 23:50:14 +0200 (CEST) Date: Sat, 25 Sep 2021 23:50:14 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Stefan Roese , u-boot@lists.denx.de, Marek =?utf-8?B?QmVow7pu?= Subject: Re: [PATCH u-boot-marvell 6/6] arm: a37xx: pci: Update private structure documentation Message-ID: <20210925215014.6ojetbilct4zfjjv@pali> References: <20210925203706.20322-1-kabel@kernel.org> <20210925203706.20322-7-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210925203706.20322-7-kabel@kernel.org> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Saturday 25 September 2021 22:37:06 Marek Behún wrote: > From: Marek Behún > > There were several changes for this structure but the documentation was > not changed at the time. Fix this. > > Signed-off-by: Marek Behún > --- > drivers/pci/pci-aardvark.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c > index b4f350ca2c..76cb2098e8 100644 > --- a/drivers/pci/pci-aardvark.c > +++ b/drivers/pci/pci-aardvark.c > @@ -186,14 +186,15 @@ > /** > * struct pcie_advk - Advk PCIe controller state > * > - * @reg_base: The base address of the register space. > - * @first_busno: This driver supports multiple PCIe controllers. > - * first_busno stores the bus number of the PCIe root-port > - * number which may vary depending on the PCIe setup > - * (PEX switches etc). > - * @sec_busno: sec_busno stores the bus number for the device behind > - * the PCIe root-port > - * @device: The pointer to PCI uclass device. > + * @base: The base address of the register space. > + * @first_busno: Bus number for the device behind the PCIe root-port. > + * This may vary depending on the PCIe setup. > + * @sec_busno: Bus number for the device behind the PCIe root-port. Seems like there is copy+paste error here. First (primary) bus is for PCIe root port and secondary bus for device behind the root port. And both bus numbers are set by u-boot pnp code. > + * @dev: The pointer to PCI uclass device. > + * @reset_gpio: GPIO descriptor for PERST. > + * @cfgcache: Buffer for emulation of PCIe Root Port's PCI Bridge registers > + * that are not available on Aardvark. > + * @cfgcrssve: For CRSSVE emulation. > */ > struct pcie_advk { > void *base; > -- > 2.32.0 >