8390.c 1007 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* 8390 core for usual drivers */
  2. static const char version[] =
  3. "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
  4. #include "lib8390.c"
  5. int ei_open(struct net_device *dev)
  6. {
  7. return __ei_open(dev);
  8. }
  9. int ei_close(struct net_device *dev)
  10. {
  11. return __ei_close(dev);
  12. }
  13. irqreturn_t ei_interrupt(int irq, void *dev_id)
  14. {
  15. return __ei_interrupt(irq, dev_id);
  16. }
  17. #ifdef CONFIG_NET_POLL_CONTROLLER
  18. void ei_poll(struct net_device *dev)
  19. {
  20. __ei_poll(dev);
  21. }
  22. #endif
  23. struct net_device *__alloc_ei_netdev(int size)
  24. {
  25. return ____alloc_ei_netdev(size);
  26. }
  27. void NS8390_init(struct net_device *dev, int startp)
  28. {
  29. return __NS8390_init(dev, startp);
  30. }
  31. EXPORT_SYMBOL(ei_open);
  32. EXPORT_SYMBOL(ei_close);
  33. EXPORT_SYMBOL(ei_interrupt);
  34. #ifdef CONFIG_NET_POLL_CONTROLLER
  35. EXPORT_SYMBOL(ei_poll);
  36. #endif
  37. EXPORT_SYMBOL(NS8390_init);
  38. EXPORT_SYMBOL(__alloc_ei_netdev);
  39. #if defined(MODULE)
  40. int init_module(void)
  41. {
  42. return 0;
  43. }
  44. void cleanup_module(void)
  45. {
  46. }
  47. #endif /* MODULE */
  48. MODULE_LICENSE("GPL");