From: dhananjay@netxen.com
To: netdev@vger.kernel.org
Cc: rob@netxen.com, jeff@garzik.org
Subject: [RESEND 1/2] netxen: re-init station address after h/w init
Date: Wed, 25 Jul 2007 20:13:11 +0530 [thread overview]
Message-ID: <20070725144515.533385702@netxen.com> (raw)
In-Reply-To: 20070725144310.500691352@netxen.com
[-- Attachment #1: dma.patch --]
[-- Type: text/plain, Size: 1076 bytes --]
This is a workaround for firmware bug with 2nd port of multiport adapter,
where MAC address is reset. Driver just needs to overwrite it with the
value read from PROM.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Index: netdev-2.6/drivers/net/netxen/netxen_nic_main.c
===================================================================
--- netdev-2.6.orig/drivers/net/netxen/netxen_nic_main.c
+++ netdev-2.6/drivers/net/netxen/netxen_nic_main.c
@@ -895,8 +895,6 @@ static int netxen_nic_open(struct net_de
/* Done here again so that even if phantom sw overwrote it,
* we set it */
- if (adapter->macaddr_set)
- adapter->macaddr_set(adapter, netdev->dev_addr);
if (adapter->init_port
&& adapter->init_port(adapter, adapter->portnum) != 0) {
del_timer_sync(&adapter->watchdog_timer);
@@ -904,6 +902,8 @@ static int netxen_nic_open(struct net_de
netxen_nic_driver_name, adapter->portnum);
return -EIO;
}
+ if (adapter->macaddr_set)
+ adapter->macaddr_set(adapter, netdev->dev_addr);
netxen_nic_set_link_parameters(adapter);
--
next prev parent reply other threads:[~2007-07-25 14:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 14:43 [RESEND 0/2] netxen: bug fixes for IMEZ adapters on pblades dhananjay
2007-07-25 14:43 ` dhananjay [this message]
2007-07-25 15:21 ` [RESEND 1/2] netxen: re-init station address after h/w init Jeff Garzik
2007-07-30 19:52 ` Jeff Garzik
2007-07-25 14:43 ` [RESEND 2/2] netxen: Fix interrupt handling for multiport adapters dhananjay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070725144515.533385702@netxen.com \
--to=dhananjay@netxen.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=rob@netxen.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.