Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86912
b: refs/heads/master
c: dc63644
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and John W. Linville committed Mar 4, 2008
1 parent 219931f commit 79348b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 1d60ab0574fae362b1cca0ef52181ef75fd46832
refs/heads/master: dc63644b0ee3b447e879ef8e124657b40e9ea81c
5 changes: 4 additions & 1 deletion trunk/drivers/ssb/driver_pcicore.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ static void __init ssb_fixup_pcibridge(struct pci_dev *dev)

/* Enable PCI bridge bus mastering and memory space */
pci_set_master(dev);
pcibios_enable_device(dev, ~0);
if (pcibios_enable_device(dev, ~0) < 0) {
ssb_printk(KERN_ERR "PCI: SSB bridge enable failed\n");
return;
}

/* Enable PCI bridge BAR1 prefetch and burst */
pci_write_config_dword(dev, SSB_BAR1_CONTROL, 3);
Expand Down

0 comments on commit 79348b5

Please sign in to comment.