Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91499
b: refs/heads/master
c: 5f91925
h: refs/heads/master
i:
  91497: ec190ac
  91495: df390c0
v: v3
  • Loading branch information
Stefan Roese authored and Josh Boyer committed Apr 3, 2008
1 parent c85a633 commit 96d97a7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b64c4c937daaa04a0a5c188718fb77e8041b5686
refs/heads/master: 5f91925c89c39e77c170de9366ffa5144a8dd8ec
10 changes: 4 additions & 6 deletions trunk/arch/powerpc/sysdev/ppc4xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,19 +785,17 @@ static int ppc460ex_pciex_init_port_hw(struct ppc4xx_pciex_port *port)
u32 val;
u32 utlset1;

if (port->endpoint) {
if (port->endpoint)
val = PTYPE_LEGACY_ENDPOINT << 20;
utlset1 = 0x20222222;
} else {
else
val = PTYPE_ROOT_PORT << 20;
utlset1 = 0x21222222;
}

if (port->index == 0) {
val |= LNKW_X1 << 12;
utlset1 = 0x20000000;
} else {
val |= LNKW_X4 << 12;
utlset1 |= 0x00101101;
utlset1 = 0x20101101;
}

mtdcri(SDR0, port->sdr_base + PESDRn_DLPSET, val);
Expand Down

0 comments on commit 96d97a7

Please sign in to comment.