Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261292AbVEFV7r (ORCPT ); Fri, 6 May 2005 17:59:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261293AbVEFV7r (ORCPT ); Fri, 6 May 2005 17:59:47 -0400 Received: from hobbit.corpit.ru ([81.13.94.6]:21849 "EHLO hobbit.corpit.ru") by vger.kernel.org with ESMTP id S261292AbVEFV7a (ORCPT ); Fri, 6 May 2005 17:59:30 -0400 Message-ID: <427BE8C0.3090108@tls.msk.ru> Date: Sat, 07 May 2005 01:59:28 +0400 From: Michael Tokarev User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: netdev@oss.sgi.com Cc: Kernel Mailing List Subject: Re: 3c509 module and 2.6 kernel: not all NICs are recognized? References: <427BD143.4010909@tls.msk.ru> <427BDD22.1080601@tls.msk.ru> <427BE3A0.7010000@didntduck.org> <427BE47B.303@tls.msk.ru> In-Reply-To: <427BE47B.303@tls.msk.ru> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/mixed; boundary="------------050500020904080408090206" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2399 Lines: 85 This is a multi-part message in MIME format. --------------050500020904080408090206 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------050500020904080408090206 Content-Type: text/plain; name="3c509-ISA-in-EISA-mode.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="3c509-ISA-in-EISA-mode.patch" This trivial patch adds support for ISA 3c509 cards in EISA mode. Signed-Off-By: Michael Tokarev --- 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" }, { "" } }; --------------050500020904080408090206-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/