Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273257
b: refs/heads/master
c: a571259
h: refs/heads/master
i:
  273255: 22e259d
v: v3
  • Loading branch information
Liu Gang authored and Linus Torvalds committed Nov 2, 2011
1 parent 1b7f634 commit 8c21e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 79975f1327850ef198ada994c2fc44b7d1ea8935
refs/heads/master: a571259f4874023306db36e83054d093833b1902
4 changes: 2 additions & 2 deletions trunk/drivers/rapidio/rio-scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ static int __devinit rio_enum_peer(struct rio_net *net, struct rio_mport *port,
* rio_enum_complete- Tests if enumeration of a network is complete
* @port: Master port to send transaction
*
* Tests the Component Tag CSR for non-zero value (enumeration
* Tests the PGCCSR discovered bit for non-zero value (enumeration
* complete flag). Return %1 if enumeration is complete or %0 if
* enumeration is incomplete.
*/
Expand All @@ -933,7 +933,7 @@ static int rio_enum_complete(struct rio_mport *port)

rio_local_read_config_32(port, port->phys_efptr + RIO_PORT_GEN_CTL_CSR,
&regval);
return (regval & RIO_PORT_GEN_MASTER) ? 1 : 0;
return (regval & RIO_PORT_GEN_DISCOVERED) ? 1 : 0;
}

/**
Expand Down

0 comments on commit 8c21e03

Please sign in to comment.