mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rob Rhoads <errhoads@linux.co.intel.com>
To: scott.feldman@intel.com
Cc: linux-kernel@vger.kernel.org
Subject: [BUG] e100 driver fails to initialize NIC on 2.5.44
Date: 22 Oct 2002 20:10:54 -0700	[thread overview]
Message-ID: <1035342654.676.368.camel@beer.co.intel.com> (raw)

While booting the 2.5.44 kernel & configured with the Intel e100 driver,
I get the follow error:

kernel: e100: hw init failed
kernel: e100: Failed to initialize, instance #0

I'm running this on an Intel STL2 server motherboard w/ 2 PIII's and 2.5
GB RAM. If you need more info I can provide it.

The patch below fixes my problem by increasing the maximum number of
retries that the SCB command field is checked in the e100_wait_scb()
function.

diff -ruN linux-2.5.44/drivers/net/e100/e100.h linux-2.5.44-new/drivers/net/e100/e100.h
--- linux-2.5.44/drivers/net/e100/e100.h	2002-10-18 21:01:20.000000000 -0700
+++ linux-2.5.44-new/drivers/net/e100/e100.h	2002-10-22 14:25:24.000000000 -0700
@@ -100,7 +100,7 @@
 
 #define E100_MAX_NIC 16
 
-#define E100_MAX_SCB_WAIT	100	/* Max udelays in wait_scb */
+#define E100_MAX_SCB_WAIT	2000	/* Max udelays in wait_scb */
 #define E100_MAX_CU_IDLE_WAIT	50	/* Max udelays in wait_cus_idle */
 
 /* HWI feature related constant */

-- 
Rob Rhoads                     mailto:errhoads@linux.intel.com
Telecom Software Platforms
Intel Communications Group

<disclaimer value="pointless">
This email message solely contains my own personal views, 
and not necessarily those of my employer.
</disclaimer>


             reply	other threads:[~2002-10-23  3:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-23  3:10 Rob Rhoads [this message]
2002-10-23 20:07 Feldman, Scott
2002-10-23 23:28 ` Rob Rhoads

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=1035342654.676.368.camel@beer.co.intel.com \
    --to=errhoads@linux.co.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scott.feldman@intel.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

all inboxes | Powered by JetHome®