From patchwork Thu Apr 16 12:29:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brice Goglin X-Patchwork-Id: 26069 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 3DC20B7067 for ; Thu, 16 Apr 2009 22:29:43 +1000 (EST) Received: by ozlabs.org (Postfix) id 2E9B6DE1BF; Thu, 16 Apr 2009 22:29: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 C051EDE1BA for ; Thu, 16 Apr 2009 22:29:42 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756061AbZDPM3R (ORCPT ); Thu, 16 Apr 2009 08:29:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754921AbZDPM3R (ORCPT ); Thu, 16 Apr 2009 08:29:17 -0400 Received: from mailbox2.myri.com ([64.172.73.26]:1934 "EHLO myri.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754632AbZDPM3Q (ORCPT ); Thu, 16 Apr 2009 08:29:16 -0400 Received: from [172.31.134.203] (brice-ovpn.sw.myri.com [172.31.134.203]) by myri.com (8.13.7+Sun/8.13.7) with ESMTP id n3GCTCcX011298; Thu, 16 Apr 2009 05:29:13 -0700 (PDT) Message-ID: <49E724A2.4040109@myri.com> Date: Thu, 16 Apr 2009 14:29:22 +0200 From: Brice Goglin User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: "David S. Miller" CC: Linux Network Development list Subject: [PATCH net-next] myri10ge: add MODULE_DEVICE_TABLE X-Enigmail-Version: 0.95.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases. Signed-off-by: Brice Goglin --- 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 --- linux-tmp.old/drivers/net/myri10ge/myri10ge.c 2009-03-27 17:16:43.000000000 +0100 +++ linux-tmp/drivers/net/myri10ge/myri10ge.c 2009-04-07 20:40:07.000000000 +0200 @@ -75,7 +75,7 @@ #include "myri10ge_mcp.h" #include "myri10ge_mcp_gen_header.h" -#define MYRI10GE_VERSION_STR "1.4.4-1.401" +#define MYRI10GE_VERSION_STR "1.4.4-1.412" MODULE_DESCRIPTION("Myricom 10G driver (10GbE)"); MODULE_AUTHOR("Maintainer: help@myri.com"); @@ -4035,6 +4035,8 @@ {0}, }; +MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl); + static struct pci_driver myri10ge_driver = { .name = "myri10ge", .probe = myri10ge_probe,