netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: dhananjay@netxen.com
Cc: netdev@vger.kernel.org, jeff@garzik.org, rob@netxen.com
Subject: Re: [PATCH 1/3] netxen: Avoid firmware load in PCI probe
Date: Thu, 30 Aug 2007 18:58:36 -0300	[thread overview]
Message-ID: <20070830215836.GC17050@ghostprotocols.net> (raw)
In-Reply-To: <20070828115603.166212155@netxen.com>

Em Tue, Aug 28, 2007 at 05:23:25PM +0530, dhananjay@netxen.com escreveu:
> Loading firmware during PCI probe can lead to incorrect initialization,
> rendering the card unusable until next reboot.  This was introduced a while
> ago as a workaround for firmware bug, a better workaround was submitted for
> this a while ago. So removing original hack that loads firmware during probe.
> 
> Signed-off by: Dhananjay Phadke <dhananjay@netxen.com>

Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>

I was having these problems and after applying this patch the NIC is
back working, thank you for fixing this!

- Arnaldo
 
> 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
> @@ -639,10 +639,6 @@ netxen_nic_probe(struct pci_dev *pdev, c
>  			NETXEN_CRB_NORMALIZE(adapter,
>  				NETXEN_ROMUSB_GLB_PEGTUNE_DONE));
>  		/* Handshake with the card before we register the devices. */
> -		writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMDPEG_STATE));
> -		netxen_pinit_from_rom(adapter, 0);
> -		msleep(1);
> -		netxen_load_firmware(adapter);
>  		netxen_phantom_init(adapter, NETXEN_NIC_PEG_TUNE);
>  	}

  parent reply	other threads:[~2007-08-30 21:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070828115324.839681763@netxen.com>
     [not found] ` <20070828115603.981381010@netxen.com>
2007-08-31 10:51   ` [PATCH 3/3] netxen: ethtool fixes Jeff Garzik
2007-08-31 12:12     ` Dhananjay Phadke
     [not found] ` <20070828115603.166212155@netxen.com>
2007-08-30 21:58   ` Arnaldo Carvalho de Melo [this message]
2007-08-31 10:53   ` [PATCH 1/3] netxen: Avoid firmware load in PCI probe Jeff Garzik

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=20070830215836.GC17050@ghostprotocols.net \
    --to=acme@ghostprotocols.net \
    --cc=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 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).