Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11284
b: refs/heads/master
c: cb42624
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Isaacson authored and Ralf Baechle committed Oct 29, 2005
1 parent 22fa8df commit b28a8bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a1417de9e11f9f577499cd4fe89fa35f4bf54fa
refs/heads/master: cb4262481fce1d43ac9a483be4faf36fdd1c7abb
8 changes: 8 additions & 0 deletions trunk/arch/mips/pci/pci-bcm1480.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,14 @@ static int __init bcm1480_pcibios_init(void)
bcm1480_bus_status |= PCI_BUS_ENABLED;
}

/* turn on ExpMemEn */
cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40));
printk("PCIFeatureCtrl = %x\n", cmdreg);
WRITECFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40),
cmdreg | 0x10);
cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40));
printk("PCIFeatureCtrl = %x\n", cmdreg);

/*
* Establish mappings in KSEG2 (kernel virtual) to PCI I/O
* space. Use "match bytes" policy to make everything look
Expand Down

0 comments on commit b28a8bf

Please sign in to comment.