Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759Ab0HRLEt (ORCPT ); Wed, 18 Aug 2010 07:04:49 -0400 Received: from avexcashub1.qlogic.com ([198.70.193.61]:56256 "EHLO avexcashub1.qlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752638Ab0HRLEq convert rfc822-to-8bit (ORCPT ); Wed, 18 Aug 2010 07:04:46 -0400 From: Amit Salecha To: Amerigo Wang , "linux-kernel@vger.kernel.org" CC: Dhananjay Phadke , Narender Kumar , "netdev@vger.kernel.org" , "David S. Miller" , Ameen Rahman Date: Wed, 18 Aug 2010 06:04:41 -0500 Subject: RE: [RFC Patch] netxen: remove firmware exports Thread-Topic: [RFC Patch] netxen: remove firmware exports Thread-Index: Acs+u2qv2tBgFdunQMyq5bEbLzzjMgACS6Iw Message-ID: <99737F4847ED0A48AECC9F4A1974A4B80F86E69129@MNEXMB2.qlogic.org> References: <20100818095908.6606.56224.sendpatchset@localhost.localdomain> In-Reply-To: <20100818095908.6606.56224.sendpatchset@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2039 Lines: 48 If problem is firmware files are not present in /lib/firmware. Then we can work with David Woodhouse and make these firmware available in /lib/firmware. -----Original Message----- From: Amerigo Wang [mailto:amwang@redhat.com] Sent: Wednesday, August 18, 2010 3:25 PM To: linux-kernel@vger.kernel.org Cc: Dhananjay Phadke; Amit Salecha; Narender Kumar; netdev@vger.kernel.org; David S. Miller; Amerigo Wang Subject: [RFC Patch] netxen: remove firmware exports netxen_nic driver can store firmwares on flash, and get them porperly and dynamically, so the firmwares may not appear in /lib/firmware/. However, netxen_nic still exports these firmwares via modinfo, this makes our script which parses modinfo output fail. Probably netxen_nic has other way to export these firmwares, but not like other modules in a stardand way. I think we can just remove these exports, but I am not sure. Signed-off-by: WANG Cong Cc: Amit Kumar Salecha Cc: "David S. Miller" Cc: Dhananjay Phadke Cc: Narender Kumar --- diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index fd86e18..e8443af 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -41,10 +41,6 @@ MODULE_DESCRIPTION("QLogic/NetXen (1/10) GbE Converged Ethernet Driver"); MODULE_LICENSE("GPL"); MODULE_VERSION(NETXEN_NIC_LINUX_VERSIONID); -MODULE_FIRMWARE(NX_P2_MN_ROMIMAGE_NAME); -MODULE_FIRMWARE(NX_P3_CT_ROMIMAGE_NAME); -MODULE_FIRMWARE(NX_P3_MN_ROMIMAGE_NAME); -MODULE_FIRMWARE(NX_UNIFIED_ROMIMAGE_NAME); char netxen_nic_driver_name[] = "netxen_nic"; static char netxen_nic_driver_string[] = "QLogic/NetXen Network Driver v" -- 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/