OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [net/] [README.ewrk3] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.