Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[pandora-kernel.git] / drivers / net / 8390.c
1 /* 8390 core for usual drivers */
2
3 static const char version[] =
4     "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
5
6 #include "lib8390.c"
7
8 int ei_open(struct net_device *dev)
9 {
10         return __ei_open(dev);
11 }
12
13 int ei_close(struct net_device *dev)
14 {
15         return __ei_close(dev);
16 }
17
18 irqreturn_t ei_interrupt(int irq, void *dev_id)
19 {
20         return __ei_interrupt(irq, dev_id);
21 }
22
23 #ifdef CONFIG_NET_POLL_CONTROLLER
24 void ei_poll(struct net_device *dev)
25 {
26         __ei_poll(dev);
27 }
28 #endif
29
30 struct net_device *__alloc_ei_netdev(int size)
31 {
32         return ____alloc_ei_netdev(size);
33 }
34
35 void NS8390_init(struct net_device *dev, int startp)
36 {
37         __NS8390_init(dev, startp);
38 }
39
40 EXPORT_SYMBOL(ei_open);
41 EXPORT_SYMBOL(ei_close);
42 EXPORT_SYMBOL(ei_interrupt);
43 #ifdef CONFIG_NET_POLL_CONTROLLER
44 EXPORT_SYMBOL(ei_poll);
45 #endif
46 EXPORT_SYMBOL(NS8390_init);
47 EXPORT_SYMBOL(__alloc_ei_netdev);
48
49 #if defined(MODULE)
50
51 static int __init ns8390_module_init(void)
52 {
53         return 0;
54 }
55
56 static void __exit ns8390_module_exit(void)
57 {
58 }
59
60 module_init(ns8390_module_init);
61 module_exit(ns8390_module_exit);
62 #endif /* MODULE */
63 MODULE_LICENSE("GPL");