From 8295b94400449586505ffe34ec024feb3d2c8fe4 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 5 Aug 2009 07:49:27 -0500 Subject: pci/fsl_pci_init: Use PCIe capability to determine if controller is PCIe Change the code to use the PCIe capabilities register to determine if we are a PCIe controller or not. Additionally cleaned up some white space and formatting in the file. Signed-off-by: Kumar Gala --- include/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/pci.h') diff --git a/include/pci.h b/include/pci.h index aaa455434..491f814e4 100644 --- a/include/pci.h +++ b/include/pci.h @@ -222,6 +222,7 @@ #define PCI_CAP_ID_SLOTID 0x04 /* Slot Identification */ #define PCI_CAP_ID_MSI 0x05 /* Message Signalled Interrupts */ #define PCI_CAP_ID_CHSWP 0x06 /* CompactPCI HotSwap */ +#define PCI_CAP_ID_EXP 0x10 /* PCI Express */ #define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */ #define PCI_CAP_FLAGS 2 /* Capability defined flags (16 bits) */ #define PCI_CAP_SIZEOF 4 -- cgit v1.2.3