aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge_main.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-06-09 01:39:29 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-10 04:04:08 -0400
commitcfec0cbc92cdcec5a540bf340c5a9fb8c89e5af1 (patch)
tree8ddab4c01ca308c04988d305a3bbd3ee158c7d64 /drivers/net/qlge/qlge_main.c
parent0808dc80939b08ec215f472e17a5d8f6b148037e (diff)
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 0b0778d9919c..5fb875d60d00 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -837,6 +837,13 @@ exit:
837static int ql_8000_port_initialize(struct ql_adapter *qdev) 837static int ql_8000_port_initialize(struct ql_adapter *qdev)
838{ 838{
839 int status; 839 int status;
840 /*
841 * Get MPI firmware version for driver banner
842 * and ethool info.
843 */
844 status = ql_mb_about_fw(qdev);
845 if (status)
846 goto exit;
840 status = ql_mb_get_fw_state(qdev); 847 status = ql_mb_get_fw_state(qdev);
841 if (status) 848 if (status)
842 goto exit; 849 goto exit;