ewrk3.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. The EtherWORKS 3 driver in this distribution is designed to work with all
  2. kernels > 1.1.33 (approx) and includes tools in the 'ewrk3tools'
  3. subdirectory to allow set up of the card, similar to the MSDOS
  4. 'NICSETUP.EXE' tools provided on the DOS drivers disk (type 'make' in that
  5. subdirectory to make the tools).
  6. The supported cards are DE203, DE204 and DE205. All other cards are NOT
  7. supported - refer to 'depca.c' for running the LANCE based network cards and
  8. 'de4x5.c' for the DIGITAL Semiconductor PCI chip based adapters from
  9. Digital.
  10. The ability to load this driver as a loadable module has been included and
  11. used extensively during the driver development (to save those long reboot
  12. sequences). To utilise this ability, you have to do 8 things:
  13. 0) have a copy of the loadable modules code installed on your system.
  14. 1) copy ewrk3.c from the /linux/drivers/net directory to your favourite
  15. temporary directory.
  16. 2) edit the source code near line 1898 to reflect the I/O address and
  17. IRQ you're using.
  18. 3) compile ewrk3.c, but include -DMODULE in the command line to ensure
  19. that the correct bits are compiled (see end of source code).
  20. 4) if you are wanting to add a new card, goto 5. Otherwise, recompile a
  21. kernel with the ewrk3 configuration turned off and reboot.
  22. 5) insmod ewrk3.o
  23. [Alan Cox: Changed this so you can insmod ewrk3.o irq=x io=y]
  24. [Adam Kropelin: Multiple cards now supported by irq=x1,x2 io=y1,y2]
  25. 6) run the net startup bits for your new eth?? interface manually
  26. (usually /etc/rc.inet[12] at boot time).
  27. 7) enjoy!
  28. Note that autoprobing is not allowed in loadable modules - the system is
  29. already up and running and you're messing with interrupts.
  30. To unload a module, turn off the associated interface
  31. 'ifconfig eth?? down' then 'rmmod ewrk3'.
  32. The performance we've achieved so far has been measured through the 'ttcp'
  33. tool at 975kB/s. This measures the total TCP stack performance which
  34. includes the card, so don't expect to get much nearer the 1.25MB/s
  35. theoretical Ethernet rate.
  36. Enjoy!
  37. Dave