blob: a82807641dcf865a6f269692d4d2eddedfab64e2 [file] [log] [blame]
Al Viro6c3561b2006-10-10 00:19:36 +01001/* 8390 core for usual drivers */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
3static const char version[] =
4 "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
5
Al Viro6c3561b2006-10-10 00:19:36 +01006#include "lib8390.c"
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Linus Torvalds1da177e2005-04-16 15:20:36 -07008int ei_open(struct net_device *dev)
9{
Al Viro6c3561b2006-10-10 00:19:36 +010010 return __ei_open(dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011}
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013int ei_close(struct net_device *dev)
14{
Al Viro6c3561b2006-10-10 00:19:36 +010015 return __ei_close(dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016}
17
David Howells7d12e782006-10-05 14:55:46 +010018irqreturn_t ei_interrupt(int irq, void *dev_id)
Linus Torvalds1da177e2005-04-16 15:20:36 -070019{
Al Viro6c3561b2006-10-10 00:19:36 +010020 return __ei_interrupt(irq, dev_id);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021}
22
23#ifdef CONFIG_NET_POLL_CONTROLLER
24void ei_poll(struct net_device *dev)
25{
Al Viro6c3561b2006-10-10 00:19:36 +010026 __ei_poll(dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070027}
28#endif
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030struct net_device *__alloc_ei_netdev(int size)
31{
Al Viro6c3561b2006-10-10 00:19:36 +010032 return ____alloc_ei_netdev(size);
Linus Torvalds1da177e2005-04-16 15:20:36 -070033}
34
Linus Torvalds1da177e2005-04-16 15:20:36 -070035void NS8390_init(struct net_device *dev, int startp)
36{
Al Viro6c3561b2006-10-10 00:19:36 +010037 return __NS8390_init(dev, startp);
Linus Torvalds1da177e2005-04-16 15:20:36 -070038}
39
40EXPORT_SYMBOL(ei_open);
41EXPORT_SYMBOL(ei_close);
42EXPORT_SYMBOL(ei_interrupt);
43#ifdef CONFIG_NET_POLL_CONTROLLER
44EXPORT_SYMBOL(ei_poll);
45#endif
46EXPORT_SYMBOL(NS8390_init);
47EXPORT_SYMBOL(__alloc_ei_netdev);
48
49#if defined(MODULE)
50
51int init_module(void)
52{
53 return 0;
54}
55
56void cleanup_module(void)
57{
58}
59
60#endif /* MODULE */
61MODULE_LICENSE("GPL");