lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 5 Sep 2018 16:26:45 +0200
From:   John Crispin <john@...ozen.org>
To:     Mathias Kresin <dev@...sin.me>, Ralf Baechle <ralf@...ux-mips.org>,
        Paul Burton <paul.burton@...s.com>,
        James Hogan <jhogan@...nel.org>, linux-mips@...ux-mips.org
Cc:     linux-kernel@...r.kernel.org, Tobias Wolf <dev-NTEO@...ace.de>
Subject: Re: [PATCH] MIPS: pci-rt2880: set pci controller of_node



On 05/09/18 08:51, Mathias Kresin wrote:
> From: Tobias Wolf <dev-NTEO@...ace.de>
>
> Set the PCI controller of_node such that PCI devices can be
> instantiated via device tree.
>
> Signed-off-by: Tobias Wolf <dev-NTEO@...ace.de>
> Signed-off-by: Mathias Kresin <dev@...sin.me>
Acked-by: John Crispin <john@...ozen.org>

> ---
>   arch/mips/pci/pci-rt2880.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c
> index 711cdcc..f376a1d 100644
> --- a/arch/mips/pci/pci-rt2880.c
> +++ b/arch/mips/pci/pci-rt2880.c
> @@ -246,6 +246,8 @@ static int rt288x_pci_probe(struct platform_device *pdev)
>   	rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000);
>   	(void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0);
>   
> +	rt2880_pci_controller.of_node = pdev->dev.of_node;
> +
>   	register_pci_controller(&rt2880_pci_controller);
>   	return 0;
>   }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ