drivers/rapidio/rio-scan.c: use discovered bit to test if enumeration is complete
authorLiu Gang <b34182@freescale.com>
Wed, 2 Nov 2011 20:39:05 +0000 (13:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:01 +0000 (16:07 -0700)
commita571259f4874023306db36e83054d093833b1902
treefc2aa71ab687411e3413353fc0ed70463d929c3e
parent79975f1327850ef198ada994c2fc44b7d1ea8935
drivers/rapidio/rio-scan.c: use discovered bit to test if enumeration is complete

The discovered bit in PGCCSR register indicates if the device has been
discovered by system host.  In Rapidio systems, some agent devices can also
be master devices.  They can issue requests into the system.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/rio-scan.c