From: Michael Tokarev <mjt@tls.msk.ru>
To: netdev@oss.sgi.com
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 3c509 module and 2.6 kernel: not all NICs are recognized?
Date: Sat, 07 May 2005 01:59:28 +0400 [thread overview]
Message-ID: <427BE8C0.3090108@tls.msk.ru> (raw)
In-Reply-To: <427BE47B.303@tls.msk.ru>
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
Michael Tokarev wrote:
> Brian Gerst wrote:
>
>>Michael Tokarev wrote:
>
> []
>
>>>>It have 4 3c509 cards, one EISA and 3 ISA. Here's the dmesg
>
> []
>
>>>All the ISA cards are in EISA mode (set in 3c5x9cfg.exe utility).
>>>IRQs are assigned by the EISA bus (set by EISA configuration utility).
>>>If any of the ISA cards are in non-EISA mode, the some of them
>>>does not work at all, starting from EISA BIOS config during boot.
>>>So I can't switch the cards into PNP mode.
>
> []
>
>>what does dmesg|grep EISA show?
>
>
> Looks like I already found it by looking at the driver source.
>
> struct eisa_device_id el3_eisa_ids[] = {
> { "TCM5092" },
> { "TCM5093" },
> { "TCM5095" }, <==== I added this line
> { "" }
> };
>
> and now it works.
>
> EISA: Probing bus 0 at 0000:00:06.0
> EISA: Mainboard ACR1C01 detected.
> EISA: slot 2 : TCM5095 detected.
> EISA: slot 3 : TCM5095 detected.
> EISA: slot 4 : TCM5095 detected.
> EISA: slot 5 : TCM5093 detected.
> EISA: Detected 4 cards.
>
>
> I'm not sure if it will work with ISA cards in ISA mode.
> As I pointed out above, this machine does not want to
> initialize EISA bus if at least one of the cards isn't
> in EISA mode. Will "plain" (in ISA mode) 3c509 be shown
> in EISA scan too?
The trivial patch is attached. Please consider applying.
/mjt
[-- Attachment #2: 3c509-ISA-in-EISA-mode.patch --]
[-- Type: text/plain, Size: 355 bytes --]
This trivial patch adds support for ISA 3c509 cards in EISA mode.
Signed-Off-By: Michael Tokarev <mjt@tls.msk.ru>
--- a/drivers/net/3c509.c.orig Sat May 7 01:55:35 2005
+++ b/drivers/net/3c509.c Sat May 7 01:27:49 2005
@@ -217,6 +217,7 @@
struct eisa_device_id el3_eisa_ids[] = {
{ "TCM5092" },
{ "TCM5093" },
+ { "TCM5095" },
{ "" }
};
prev parent reply other threads:[~2005-05-06 21:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-06 20:19 3c509 module and 2.6 kernel: not all NICs are recognized? Michael Tokarev
2005-05-06 21:09 ` Michael Tokarev
2005-05-06 21:37 ` Brian Gerst
2005-05-06 21:41 ` Michael Tokarev
2005-05-06 21:59 ` Michael Tokarev [this message]
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=427BE8C0.3090108@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.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.