Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360047
b: refs/heads/master
c: 8cd3d64
h: refs/heads/master
i:
  360045: cbb6cab
  360043: 1e45681
  360039: 50102f3
  360031: b010cb1
v: v3
  • Loading branch information
Jayachandran C authored and John Crispin committed Feb 16, 2013
1 parent 30a70ca commit b4c1e0a
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 4e45e542cd742c1c3e30e7f252640644c66548b5
refs/heads/master: 8cd3d64c5714de7e17eccde48837b329f67bd85e
6 changes: 5 additions & 1 deletion trunk/arch/mips/pci/pci-xlp.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ static inline u32 pci_cfg_read_32bit(struct pci_bus *bus, unsigned int devfn,
u32 data;
u32 *cfgaddr;

where &= ~3;
if (bus->number == 0 && PCI_SLOT(devfn) == 1 && where == 0x954)
return 0xffffffff;

cfgaddr = (u32 *)(pci_config_base +
pci_cfg_addr(bus->number, devfn, where & ~3));
pci_cfg_addr(bus->number, devfn, where));
data = *cfgaddr;
return data;
}
Expand Down

0 comments on commit b4c1e0a

Please sign in to comment.