[BUS\IOU] set the chassis slot fields of the pnp event record and of the device iou ext
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 7 May 2007 08:55:13 +0000 (08:55 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 7 May 2007 08:55:13 +0000 (08:55 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@651 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_ioc_pnp.c
core/bus/kernel/bus_iou_mgr.c

index 161d4f3..0970e61 100644 (file)
@@ -3016,6 +3016,7 @@ __report_iou_add(
        \r
        p_rec->ca_guid = p_iou->ca_guid;\r
        p_rec->guid = p_iou->guid;\r
+       p_rec->chassis_guid = p_iou->chassis_guid;\r
        p_rec->vend_id = p_iou->vend_id;\r
        p_rec->dev_id = p_iou->dev_id;\r
        p_rec->revision = p_iou->revision;\r
index f27a220..81ce2cd 100644 (file)
@@ -615,7 +615,9 @@ iou_mgr_iou_add(
        BUS_TRACE( BUS_DBG_PNP, ("%s: ext %p, present %d, missing %d .\n",\r
                p_iou_ext->pdo.cl_ext.vfptr_pnp_po->identity, p_iou_ext, p_iou_ext->pdo.b_present, p_iou_ext->pdo.b_reported_missing ) );\r
 \r
-       p_iou_ext->guid = p_pnp_rec->pnp_rec.guid;\r
+       p_iou_ext->guid = p_pnp_rec->guid;\r
+       p_iou_ext->chassis_guid = p_pnp_rec->chassis_guid;\r
+       p_iou_ext->slot = p_pnp_rec->slot;\r
        p_iou_ext->vend_id = cl_ntoh32( p_pnp_rec->vend_id );\r
        if( p_iou_ext->vend_id == 0x00066a )\r
                p_iou_ext->dev_id = (net16_t)(p_pnp_rec->pnp_rec.guid >> 32) & 0x00FF;\r