netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/5] qlcnic: Fix enviroment variable for udev event generation during FW dump
@ 2011-07-29 23:30 Anirban Chakraborty
  2011-07-29 23:30 ` [PATCH net-next 2/5] qlcnic: FW dump related changes Anirban Chakraborty
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Anirban Chakraborty @ 2011-07-29 23:30 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Dept_NX_Linux_NIC_Driver, Anirban Chakraborty

Driver was not generating the environment variable for the FW dump event correctly.
Fix it by formatting it properly.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
---
 drivers/net/qlcnic/qlcnic_hw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c
index 4055c21..74e9d7b 100644
--- a/drivers/net/qlcnic/qlcnic_hw.c
+++ b/drivers/net/qlcnic/qlcnic_hw.c
@@ -1773,8 +1773,8 @@ int qlcnic_dump_fw(struct qlcnic_adapter *adapter)
 		goto error;
 	} else {
 		fw_dump->clr = 1;
-		snprintf(mesg, sizeof(mesg), "FW dump for device: %d\n",
-			adapter->pdev->devfn);
+		snprintf(mesg, sizeof(mesg), "FW_DUMP=%s",
+			adapter->netdev->name);
 		dev_info(&adapter->pdev->dev, "Dump data, %d bytes captured\n",
 			fw_dump->size);
 		/* Send a udev event to notify availability of FW dump */
-- 
1.7.4.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-08-03 23:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 23:30 [PATCH net-next 1/5] qlcnic: Fix enviroment variable for udev event generation during FW dump Anirban Chakraborty
2011-07-29 23:30 ` [PATCH net-next 2/5] qlcnic: FW dump related changes Anirban Chakraborty
2011-07-29 23:30 ` [PATCH net-next 3/5] qlcnic: Fix delay in reset path Anirban Chakraborty
2011-07-29 23:30 ` [PATCH net-next 4/5] qlcnic: Move get template from probe to start fw Anirban Chakraborty
2011-07-29 23:30 ` [PATCH net-next 5/5] qlcnic: Added debug info Anirban Chakraborty
2011-07-29 23:30 ` [PATCH net-next 0/5] qlcnic: Fixes and debug support Anirban Chakraborty
2011-08-01  8:57   ` David Miller
2011-08-01 15:24     ` Anirban Chakraborty
2011-08-02  0:38       ` David Miller
2011-08-03 20:20         ` Anirban Chakraborty
2011-08-03 23:30           ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).