On 02/15/2018 05:34 PM, Tim Harvey wrote:
> Backport of:  http://patchwork.ozlabs.org/patch/860701/
> 
> Signed-off-by: Tim Harvey <thar...@gateworks.com>
> ---
>  .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch    | 11 
> +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 
> target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
> 
> diff --git 
> a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch 
> b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
> new file mode 100644
> index 0000000..ce9e815
> --- /dev/null
> +++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch

Please put this into target/linux/generic/backport-4.14/ as this is or
will be a backport from the mainline kernel.

Can you also add the original commit comment.
> @@ -0,0 +1,11 @@
> +--- a/drivers/pci/dwc/pcie-designware-host.c
> ++++ b/drivers/pci/dwc/pcie-designware-host.c
> +@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port *
> +     /* setup bus numbers */
> +     val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS);
> +     val &= 0xff000000;
> +-    val |= 0x00010100;
> ++    val |= 0x00ff0100;
> +     dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val);
> + 
> +     /* setup command register */
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to