ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 812-pcie-0019-misc-pci_endpoint_test-Add-the-layerscape-PCIe-GEN4-.patch
1 From 19d95534071c0bc330cce57d26391d804b24257c Mon Sep 17 00:00:00 2001
2 From: Xiaowei Bao <xiaowei.bao@nxp.com>
3 Date: Mon, 18 Feb 2019 16:12:42 +0800
4 Subject: [PATCH] misc: pci_endpoint_test: Add the layerscape PCIe GEN4 EP
5  device support
6
7 Add the layerscape PCIE GEN4 EP device support in pci_endpoint_test driver.
8
9 Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
10 Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
11 ---
12  drivers/misc/pci_endpoint_test.c | 2 ++
13  1 file changed, 2 insertions(+)
14
15 --- a/drivers/misc/pci_endpoint_test.c
16 +++ b/drivers/misc/pci_endpoint_test.c
17 @@ -65,6 +65,7 @@
18  #define PCI_ENDPOINT_TEST_IRQ_NUMBER           0x28
19  
20  #define PCI_DEVICE_ID_TI_AM654                 0xb00c
21 +#define PCI_DEVICE_ID_LX2160A                  0x8d80
22  
23  #define is_am654_pci_dev(pdev)         \
24                 ((pdev)->device == PCI_DEVICE_ID_TI_AM654)
25 @@ -799,6 +800,7 @@ static const struct pci_device_id pci_en
26         { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA74x) },
27         { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA72x) },
28         { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, 0x81c0) },
29 +       { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, PCI_DEVICE_ID_LX2160A) },
30         { PCI_DEVICE_DATA(SYNOPSYS, EDDA, NULL) },
31         { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_AM654),
32           .driver_data = (kernel_ulong_t)&am654_data