Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279529
b: refs/heads/master
c: 184cd4a
h: refs/heads/master
i:
  279527: 2ea81b1
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Nov 25, 2011
1 parent 0beadb8 commit 2b94d21
Show file tree
Hide file tree
Showing 7 changed files with 1,435 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca45cfe31ee5b59eb2e0f19baac575a4f5b68537
refs/heads/master: 184cd4a3b962a4769889615430eaf40076b97969
6 changes: 5 additions & 1 deletion trunk/arch/powerpc/include/asm/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ struct pci_dn {

int pci_ext_config_space; /* for pci devices */

#ifdef CONFIG_EEH
struct pci_dev *pcidev; /* back-pointer to the pci device */
#ifdef CONFIG_EEH
int class_code; /* pci device class */
int eeh_mode; /* See eeh.h for possible EEH_MODEs */
int eeh_config_addr;
Expand All @@ -164,6 +164,10 @@ struct pci_dn {
int eeh_false_positives; /* # times this device reported #ff's */
u32 config_space[16]; /* saved PCI config space */
#endif
#define IODA_INVALID_PE (-1)
#ifdef CONFIG_PPC_POWERNV
int pe_number;
#endif
};

/* Get the pointer to a device_node's pci_dn */
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/pci_dn.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ void * __devinit update_dn_pci_info(struct device_node *dn, void *data)
dn->data = pdn;
pdn->node = dn;
pdn->phb = phb;
#ifdef CONFIG_PPC_POWERNV
pdn->pe_number = IODA_INVALID_PE;
#endif
regs = of_get_property(dn, "reg", NULL);
if (regs) {
/* First register entry is addr (00BBSS00) */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/powernv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ obj-y += setup.o opal-takeover.o opal-wrappers.o opal.o
obj-y += opal-rtc.o opal-nvram.o

obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PCI) += pci.o pci-p5ioc2.o
obj-$(CONFIG_PCI) += pci.o pci-p5ioc2.o pci-ioda.o
Loading

0 comments on commit 2b94d21

Please sign in to comment.