]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rapidio/rio-scan.c: use discovered bit to test if enumeration is complete
authorLiu Gang <b34182@freescale.com>
Mon, 24 Oct 2011 15:00:08 +0000 (02:00 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:08:19 +0000 (20:08 +1100)
commitc7a1fb34c64832b4aece8237623be979a95e2d17
treec7b5161a67fab01831c9e5ec1f8548dc2be57884
parent0693e2350ba73a132ac388a63143468d0a12f2be
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>
drivers/rapidio/rio-scan.c