Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
[linux-2.6/openmoko-kernel/knife-kernel.git] / drivers / net / 8390.c
bloba499e867f0f456ea60fb246b2ecdbb04d465b150
1 /* 8390 core for usual drivers */
3 static const char version[] =
4 "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
6 #include "lib8390.c"
8 int ei_open(struct net_device *dev)
10 return __ei_open(dev);
13 int ei_close(struct net_device *dev)
15 return __ei_close(dev);
18 irqreturn_t ei_interrupt(int irq, void *dev_id)
20 return __ei_interrupt(irq, dev_id);
23 #ifdef CONFIG_NET_POLL_CONTROLLER
24 void ei_poll(struct net_device *dev)
26 __ei_poll(dev);
28 #endif
30 struct net_device *__alloc_ei_netdev(int size)
32 return ____alloc_ei_netdev(size);
35 void NS8390_init(struct net_device *dev, int startp)
37 return __NS8390_init(dev, startp);
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);
49 #if defined(MODULE)
51 static int __init ns8390_module_init(void)
53 return 0;
56 static void __exit ns8390_module_exit(void)
60 module_init(ns8390_module_init);
61 module_exit(ns8390_module_exit);
62 #endif /* MODULE */
63 MODULE_LICENSE("GPL");