Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262517AbUCRLC4 (ORCPT ); Thu, 18 Mar 2004 06:02:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262503AbUCRLCz (ORCPT ); Thu, 18 Mar 2004 06:02:55 -0500 Received: from m244.net81-65-141.noos.fr ([81.65.141.244]:45799 "EHLO deep-space-9.dsnet") by vger.kernel.org with ESMTP id S261748AbUCRLBW (ORCPT ); Thu, 18 Mar 2004 06:01:22 -0500 Date: Thu, 18 Mar 2004 12:01:19 +0100 From: Stelian Pop To: Linux Kernel Mailing List Cc: akpm@osdl.org Subject: [PATCH 2.6] netpoll for pcnet_cs Message-ID: <20040318110119.GL2781@deep-space-9.dsnet> Reply-To: Stelian Pop Mail-Followup-To: Stelian Pop , Linux Kernel Mailing List , akpm@osdl.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 30 Hi, This patch adds netpoll support to pcnet_cs. Tested with the netconsole facility. Please apply. Stelian. ===== drivers/net/pcmcia/pcnet_cs.c 1.31 vs edited ===== --- 1.31/drivers/net/pcmcia/pcnet_cs.c Tue Feb 10 01:54:48 2004 +++ edited/drivers/net/pcmcia/pcnet_cs.c Wed Mar 17 12:21:28 2004 @@ -722,6 +722,10 @@ link->dev = &info->node; link->state &= ~DEV_CONFIG_PENDING; +#ifdef CONFIG_NET_POLL_CONTROLLER + dev->poll_controller = ei_poll; +#endif + if (register_netdev(dev) != 0) { printk(KERN_NOTICE "pcnet_cs: register_netdev() failed\n"); link->dev = NULL; -- Stelian Pop - 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/