From patchwork Sat May 30 23:40:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 27876 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id BAEE6B7081 for ; Sun, 31 May 2009 09:40:43 +1000 (EST) Received: by ozlabs.org (Postfix) id A7DEADDDA0; Sun, 31 May 2009 09:40:43 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 2EBAFDDD1C for ; Sun, 31 May 2009 09:40:43 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754712AbZE3Xke (ORCPT ); Sat, 30 May 2009 19:40:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754234AbZE3Xke (ORCPT ); Sat, 30 May 2009 19:40:34 -0400 Received: from [213.58.128.207] ([213.58.128.207]:43225 "EHLO ftp.linux-mips.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753892AbZE3Xkd (ORCPT ); Sat, 30 May 2009 19:40:33 -0400 Received: from localhost.localdomain ([127.0.0.1]:46979 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S20021408AbZE3Xkb (ORCPT + 1 other); Sun, 31 May 2009 00:40:31 +0100 Date: Sun, 31 May 2009 00:40:31 +0100 (BST) From: "Maciej W. Rozycki" To: Jeff Garzik cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] 3c509: Add missing EISA IDs Message-ID: User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Several EISA device IDs for 3c509 family network cards are missing from the driver, making the cards unusable in their EISA mode. Here's a fix to add them based on the EISA configuration files distributed by 3Com and our eisa.ids database. Signed-off-by: Maciej W. Rozycki --- Successfully tested with a 3c509-Combo network card: EISA: Probing bus 0 at eisa.0 EISA: Mainboard AEI0401 detected. EISA: slot 6 : NPI0303 detected. EISA: slot 8 : TCM5094 detected. eth0: 3c5x9 found at 0x8000, 10baseT port, address 00:a0:24:b6:8b:db, IRQ 11. 3c509.c:1.20 04Feb2008 becker@scyld.com EISA: Detected 2 cards. Please apply. Maciej patch-mips-2.6.27-rc8-20081004-3c509-eisa-0 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-mips-2.6.27-rc8-20081004-dolch/drivers/net/3c509.c =================================================================== --- linux-mips-2.6.27-rc8-20081004-dolch.orig/drivers/net/3c509.c +++ linux-mips-2.6.27-rc8-20081004-dolch/drivers/net/3c509.c @@ -480,9 +480,13 @@ static int pnp_registered; #ifdef CONFIG_EISA static struct eisa_device_id el3_eisa_ids[] = { + { "TCM5090" }, + { "TCM5091" }, { "TCM5092" }, { "TCM5093" }, + { "TCM5094" }, { "TCM5095" }, + { "TCM5098" }, { "" } }; MODULE_DEVICE_TABLE(eisa, el3_eisa_ids);