xtensa: use the new byteorder headers
[pohmelfs.git] / drivers / net / 8390p.c
blob4c6eea4611a2c213a1bbff4079c02a3006b65d98
1 /* 8390 core for ISA devices needing bus delays */
3 static const char version[] =
4 "8390p.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
6 #define ei_inb(_p) inb(_p)
7 #define ei_outb(_v, _p) outb(_v, _p)
8 #define ei_inb_p(_p) inb_p(_p)
9 #define ei_outb_p(_v, _p) outb_p(_v, _p)
11 #include "lib8390.c"
13 int eip_open(struct net_device *dev)
15 return __ei_open(dev);
17 EXPORT_SYMBOL(eip_open);
19 int eip_close(struct net_device *dev)
21 return __ei_close(dev);
23 EXPORT_SYMBOL(eip_close);
25 irqreturn_t eip_interrupt(int irq, void *dev_id)
27 return __ei_interrupt(irq, dev_id);
29 EXPORT_SYMBOL(eip_interrupt);
31 #ifdef CONFIG_NET_POLL_CONTROLLER
32 void eip_poll(struct net_device *dev)
34 __ei_poll(dev);
36 EXPORT_SYMBOL(eip_poll);
37 #endif
39 struct net_device *__alloc_eip_netdev(int size)
41 return ____alloc_ei_netdev(size);
43 EXPORT_SYMBOL(__alloc_eip_netdev);
45 void NS8390p_init(struct net_device *dev, int startp)
47 __NS8390_init(dev, startp);
49 EXPORT_SYMBOL(NS8390p_init);
51 #if defined(MODULE)
53 int init_module(void)
55 return 0;
58 void cleanup_module(void)
62 #endif /* MODULE */
63 MODULE_LICENSE("GPL");