Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294733
b: refs/heads/master
c: 8ed3087
h: refs/heads/master
i:
  294731: 946316f
v: v3
  • Loading branch information
Jacob Pan authored and Jesse Barnes committed Feb 23, 2012
1 parent a7ad7eb commit 521d3d0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 990a30c50c2bb3c4570aec7c33bedb969d089b7b
refs/heads/master: 8ed3087280ee8c527b7090887e333761a9c75474
4 changes: 3 additions & 1 deletion trunk/arch/x86/pci/mrst.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ static bool type1_access_ok(unsigned int bus, unsigned int devfn, int reg)
*/
if (reg >= 0x100 || reg == PCI_STATUS || reg == PCI_HEADER_TYPE)
return 0;
if (bus == 0 && (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(0, 0)))
if (bus == 0 && (devfn == PCI_DEVFN(2, 0)
|| devfn == PCI_DEVFN(0, 0)
|| devfn == PCI_DEVFN(3, 0)))
return 1;
return 0; /* langwell on others */
}
Expand Down

0 comments on commit 521d3d0

Please sign in to comment.