summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge_main.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-06-09 05:39:29 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-10 01:04:08 -0700
commitcfec0cbc92cdcec5a540bf340c5a9fb8c89e5af1 (patch)
tree8ddab4c01ca308c04988d305a3bbd3ee158c7d64 /drivers/net/qlge/qlge_main.c
parent0808dc80939b08ec215f472e17a5d8f6b148037e (diff)
downloadop-kernel-dev-cfec0cbc92cdcec5a540bf340c5a9fb8c89e5af1.zip
op-kernel-dev-cfec0cbc92cdcec5a540bf340c5a9fb8c89e5af1.tar.gz
qlge: Add support for retrieving firmware version.
This is used by driver banner and ethtool info. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge_main.c')
-rw-r--r--drivers/net/qlge/qlge_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 0b0778d..5fb875d 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -837,6 +837,13 @@ exit:
static int ql_8000_port_initialize(struct ql_adapter *qdev)
{
int status;
+ /*
+ * Get MPI firmware version for driver banner
+ * and ethool info.
+ */
+ status = ql_mb_about_fw(qdev);
+ if (status)
+ goto exit;
status = ql_mb_get_fw_state(qdev);
if (status)
goto exit;
OpenPOWER on IntegriCloud