Changeset 47996


Ignore:
Timestamp:
2015-12-23T19:25:22+01:00 (2 years ago)
Author:
blogic
Message:

lantiq: fix PCI_DEVICE_ID_LANTIQ_PCIE

It's not necessary to define PCI_* if pci_ids.h is included a few
lines above.

The change to pci_ids.h doesn't look intentional to me, especially
since the former value is added to the top of ifxmips_fixup_pcie.c.

Both changes were introduced with the kernel 4.1 support patches and
were not present in the 3.18 patches.

Signed-off-by: Mathias Kresin <openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/patches-4.1/0001-MIPS-lantiq-add-pcie-driver.patch

    r47104 r47996  
    9090--- /dev/null 
    9191+++ b/arch/mips/pci/fixup-lantiq-pcie.c 
    92 @@ -0,0 +1,82 @@ 
     92@@ -0,0 +1,74 @@ 
    9393+/****************************************************************************** 
    9494+** 
     
    124124+ 
    125125+#include "pcie-lantiq.h" 
    126 + 
    127 +#define PCI_VENDOR_ID_INFINEON         0x15D1 
    128 +#define PCI_DEVICE_ID_INFINEON_DANUBE  0x000F 
    129 +#define PCI_DEVICE_ID_INFINEON_PCIE    0x0011 
    130 +#define PCI_VENDOR_ID_LANTIQ        0x1BEF 
    131 +#define PCI_DEVICE_ID_LANTIQ_PCIE       0x0011 
    132 + 
    133 + 
    134126+ 
    135127+static void 
     
    55345526+#define PCI_DEVICE_ID_INFINEON_PCIE    0x0011 
    55355527+#define PCI_VENDOR_ID_LANTIQ           0x1BEF 
    5536 +#define PCI_DEVICE_ID_LANTIQ_PCIE      0x00 
     5528+#define PCI_DEVICE_ID_LANTIQ_PCIE      0x0011 
    55375529+ 
    55385530 #define PCI_VENDOR_ID_WINBOND          0x10ad 
Note: See TracChangeset for help on using the changeset viewer.