[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080729222925.37232c47.yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 29 Jul 2008 22:29:25 +0900
From: Yoichi Yuasa <yoichi_yuasa@...peaks.co.jp>
To: Jeff Garzik <jeff@...zik.org>
Cc: yoichi_yuasa@...peaks.co.jp, netdev@...r.kernel.org
Subject: [PATCH] fix ne driver link error
The ne driver is required 8390p.
drivers/built-in.o: In function `ne_probe1':
ne.c:(.init.text+0x25c8): undefined reference to `NS8390_init'
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@...peaks.co.jp>
diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/drivers/net/ne.c linux/drivers/net/ne.c
--- linux-orig/drivers/net/ne.c 2008-07-25 16:43:41.905549705 +0900
+++ linux/drivers/net/ne.c 2008-07-26 17:18:44.150322098 +0900
@@ -536,7 +536,7 @@ static int __init ne_probe1(struct net_d
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = eip_poll;
#endif
- NS8390_init(dev, 0);
+ NS8390p_init(dev, 0);
ret = register_netdev(dev);
if (ret)
@@ -794,7 +794,7 @@ retry:
if (time_after(jiffies, dma_start + 2*HZ/100)) { /* 20ms */
printk(KERN_WARNING "%s: timeout waiting for Tx RDC.\n", dev->name);
ne_reset_8390(dev);
- NS8390_init(dev,1);
+ NS8390p_init(dev,1);
break;
}
@@ -855,7 +855,7 @@ static int ne_drv_resume(struct platform
if (netif_running(dev)) {
ne_reset_8390(dev);
- NS8390_init(dev, 1);
+ NS8390p_init(dev, 1);
netif_device_attach(dev);
}
return 0;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists