Commit 32c0de69 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fw: [PATCH 2.6] netpoll for pcnet_cs

From: Stelian Pop <stelian@popies.net>
Subject: [PATCH 2.6] netpoll for pcnet_cs

This patch adds netpoll support to pcnet_cs. Tested with
the netconsole facility.
parent 908c0ae8
......@@ -722,6 +722,10 @@ static void pcnet_config(dev_link_t *link)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment