fs: use kmem_cache_zalloc instead
[pv_ops_mirror.git] / drivers / net / 8390.c
bloba82807641dcf865a6f269692d4d2eddedfab64e2
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 int init_module(void)
53 return 0;
56 void cleanup_module(void)
60 #endif /* MODULE */
61 MODULE_LICENSE("GPL");