rapidio: add definitions of Component Tag fields
[deliverable/linux.git] / drivers / rapidio / rio.c
index c13289e10bb147302799c3f31310c34382cbd3d9..cc2a3b74d0f081fd4ae1d5cac09a297850e93bec 100644 (file)
@@ -710,7 +710,7 @@ int rio_inb_pwrite_handler(union rio_pw_msg *pw_msg)
        u32 err_status, em_perrdet, em_ltlerrdet;
        int rc, portnum;
 
-       rdev = rio_get_comptag(pw_msg->em.comptag, NULL);
+       rdev = rio_get_comptag((pw_msg->em.comptag & RIO_CTAG_UDEVID), NULL);
        if (rdev == NULL) {
                /* Device removed or enumeration error */
                pr_debug("RIO: %s No matching device for CTag 0x%08x\n",
This page took 0.026215 seconds and 5 git commands to generate.