qlge: Store firmware revision as early as possible.
authorRon Mercer <ron.mercer@qlogic.com>
Sat, 10 Oct 2009 09:35:06 +0000 (09:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2009 06:16:15 +0000 (23:16 -0700)
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_mpi.c

index 2e83c4b8ced44ff4ef013c330406f91c45d9271d..9c0dfe0173953c8307ac14537ccade585fbeb9c9 100644 (file)
@@ -317,6 +317,7 @@ static void ql_init_fw_done(struct ql_adapter *qdev, struct mbox_params *mbcp)
        } else {
                QPRINTK(qdev, DRV, ERR, "Firmware Revision  = 0x%.08x.\n",
                        mbcp->mbox_out[1]);
+               qdev->fw_rev_id = mbcp->mbox_out[1];
                status = ql_cam_route_initialize(qdev);
                if (status)
                        QPRINTK(qdev, IFUP, ERR,