netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3][BNX2]: Fix minor loopback problem.
@ 2006-12-14  2:31 Michael Chan
  2006-12-14 23:57 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Chan @ 2006-12-14  2:31 UTC (permalink / raw)
  To: davem, agospoda, netdev

[BNX2]: Fix minor loopback problem.

Use the configured MAC address instead of the permanent MAC address
for loopback frames.

Update version to 1.5.2.

Signed-off-by: Michael Chan <mchan@broadcom.com>

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 4fa7cef..ada5e9b 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -57,8 +57,8 @@
 
 #define DRV_MODULE_NAME		"bnx2"
 #define PFX DRV_MODULE_NAME	": "
-#define DRV_MODULE_VERSION	"1.5.1"
-#define DRV_MODULE_RELDATE	"November 15, 2006"
+#define DRV_MODULE_VERSION	"1.5.2"
+#define DRV_MODULE_RELDATE	"December 13, 2006"
 
 #define RUN_AT(x) (jiffies + (x))
 
@@ -4005,7 +4005,7 @@ bnx2_run_loopback(struct bnx2 *bp, int l
 	if (!skb)
 		return -ENOMEM;
 	packet = skb_put(skb, pkt_size);
-	memcpy(packet, bp->mac_addr, 6);
+	memcpy(packet, bp->dev->dev_addr, 6);
 	memset(packet + 6, 0x0, 8);
 	for (i = 14; i < pkt_size; i++)
 		packet[i] = (unsigned char) (i & 0xff);



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

* Re: [PATCH 3/3][BNX2]: Fix minor loopback problem.
  2006-12-14  2:31 [PATCH 3/3][BNX2]: Fix minor loopback problem Michael Chan
@ 2006-12-14 23:57 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-12-14 23:57 UTC (permalink / raw)
  To: mchan; +Cc: agospoda, netdev

From: "Michael Chan" <mchan@broadcom.com>
Date: Wed, 13 Dec 2006 18:31:19 -0800

> [BNX2]: Fix minor loopback problem.
> 
> Use the configured MAC address instead of the permanent MAC address
> for loopback frames.
> 
> Update version to 1.5.2.
> 
> Signed-off-by: Michael Chan <mchan@broadcom.com>

Also applied, thanks Michael.

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

end of thread, other threads:[~2006-12-15  0:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-14  2:31 [PATCH 3/3][BNX2]: Fix minor loopback problem Michael Chan
2006-12-14 23:57 ` 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).