]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/pci-bridge.h
[PATCH] powerpc: Add "partitionable endpoint" support
[linux-2.6] / include / asm-powerpc / pci-bridge.h
index 443c75a16571e68646617aa934056168c2d03acc..a81bc363f3500d193994b9e44e0debd55ee91f39 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_PCI_BRIDGE_H
 #define _ASM_POWERPC_PCI_BRIDGE_H
+#ifdef __KERNEL__
 
 #ifndef CONFIG_PPC64
 #include <asm-ppc/pci-bridge.h>
@@ -67,6 +68,7 @@ struct pci_dn {
 #ifdef CONFIG_PPC_PSERIES
        int     eeh_mode;               /* See eeh.h for possible EEH_MODEs */
        int     eeh_config_addr;
+       int     eeh_pe_config_addr; /* new-style partition endpoint address */
        int     eeh_check_count;        /* # times driver ignored error */
        int     eeh_freeze_count;       /* # times this device froze up. */
        int     eeh_is_bridge;          /* device is pci-to-pci bridge */
@@ -172,4 +174,5 @@ static inline unsigned long pci_address_to_pio(phys_addr_t address)
 #define PCI_PROBE_DEVTREE      1       /* Instantiate from device tree */
 
 #endif /* CONFIG_PPC64 */
+#endif /* __KERNEL__ */
 #endif